scinote-web/docker-compose.yml

23 lines
260 B
YAML
Raw Normal View History

2016-02-12 23:52:43 +08:00
dbdata:
image: busybox
volumes:
- /var/lib/postgresql
command: "true"
db:
image: postgres:9.4
volumes_from:
- dbdata
web:
build: .
2016-07-21 19:11:15 +08:00
stdin_open: true
tty: true
2016-02-12 23:52:43 +08:00
ports:
- "3000:3000"
volumes:
- .:/usr/src/app
links:
- db