version: '2.2' services: dendrite: image: matrixdotorg/dendrite-monolith:latest command: [ "--config=/etc/dendrite/dendrite.yml" ] environment: - LETSENCRYPT_HOST=2d.ixvd.net - VIRTUAL_HOST=2d.ixvd.net ports: - 8008:8008 - 8448:8448 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_PROTO=3000 networks: - proxy