synapse/compose.yaml

32 lines
590 B
YAML
Raw Permalink Normal View History

2024-05-01 09:29:32 +00:00
---
services:
db:
image: docker.io/postgres:17
2024-05-01 09:29:32 +00:00
restart: unless-stopped
environment:
- POSTGRES_DB=db
- POSTGRES_USER=db
- POSTGRES_PASSWORD=db
2024-05-01 09:29:32 +00:00
volumes:
- db:/var/lib/postgresql/data/
synapse:
image: "$IMAGEAPP"
restart: unless-stopped
ports:
- "8080:8008"
- "8448:8448"
environment:
- POSTGRES_HOST=db
- POSTGRES_DB=db
- POSTGRES_USER=db
- POSTGRES_PASSWORD=db
2024-05-01 09:29:32 +00:00
volumes:
- synapse_config:/config/
- synapse_data:/data/
volumes:
db: {}
synapse_config: {}
synapse_data: {}