mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
20 lines
229 B
YAML
20 lines
229 B
YAML
|
|
dbdata:
|
|
image: busybox
|
|
volumes:
|
|
- /var/lib/postgresql
|
|
command: "true"
|
|
|
|
db:
|
|
image: postgres:9.4
|
|
volumes_from:
|
|
- dbdata
|
|
|
|
web:
|
|
build: .
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- .:/usr/src/app
|
|
links:
|
|
- db
|