mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
22 lines
260 B
YAML
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
|