32 lines
581 B
YAML
32 lines
581 B
YAML
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
notatio:
|
||
|
image: notatio/notatio
|
||
|
container_name: notatio
|
||
|
env_file:
|
||
|
- .env
|
||
|
volumes:
|
||
|
- ./notatio-uploads:/uploads
|
||
|
- ./editor_templates:/editor_templates
|
||
|
ports:
|
||
|
- "9991:9991"
|
||
|
command: ["./wait-for-postgres.sh", "postgres", "${PGPORT}", "./notatio"]
|
||
|
depends_on:
|
||
|
- postgres
|
||
|
networks:
|
||
|
- notatio-network
|
||
|
|
||
|
postgres:
|
||
|
image: postgres
|
||
|
container_name: postgres
|
||
|
env_file:
|
||
|
- .env
|
||
|
networks:
|
||
|
- notatio-network
|
||
|
#ports:
|
||
|
# - "5432:5432"
|
||
|
|
||
|
networks:
|
||
|
notatio-network:
|