notatio/docker-compose.yaml

32 lines
581 B
YAML
Raw Normal View History

2023-11-21 04:10:40 +00:00
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: