46 lines
No EOL
1 KiB
YAML
46 lines
No EOL
1 KiB
YAML
version: '2.2'
|
|
|
|
services:
|
|
dendrite:
|
|
image: matrixdotorg/dendrite-monolith:latest
|
|
command: [
|
|
"--config=/etc/dendrite/dendrite.yml"
|
|
]
|
|
environment:
|
|
- VIRTUAL_HOST=dendrite.neo.ixvd.net
|
|
- LETSENCRYPT_HOST=dendrite.neo.ixvd.net
|
|
- VIRTUAL_PORT=8008
|
|
volumes:
|
|
- /srv/dendrite/config:/etc/dendrite
|
|
- /srv/dendrite/data:/var/dendrite/media
|
|
depends_on:
|
|
- dendrite-pg
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
|
|
|
|
dendrite-pg:
|
|
image: postgres:14
|
|
environment:
|
|
- POSTGRES_USER=dendrite
|
|
- POSTGRES_PASSWORD=dendrite
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U dendrite"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
volumes:
|
|
- /srv/dentrite/other/database:/var/lib/postgresql/data
|
|
networks:
|
|
- internal
|
|
|
|
troddit:
|
|
image: bsyed/troddit
|
|
env_file: env/troddit.env
|
|
environment:
|
|
- LETSENCRYPT_HOST=red.neo.ixvd.net
|
|
- VIRTUAL_HOST=red.neo.ixvd.net
|
|
- VIRTUAL_PORT=3000
|
|
networks:
|
|
- proxy |