scinote-web/docker-compose.yml
2016-07-21 13:11:15 +02:00

22 lines
260 B
YAML

dbdata:
image: busybox
volumes:
- /var/lib/postgresql
command: "true"
db:
image: postgres:9.4
volumes_from:
- dbdata
web:
build: .
stdin_open: true
tty: true
ports:
- "3000:3000"
volumes:
- .:/usr/src/app
links:
- db