add: troddit and split utils/social
This commit is contained in:
parent
cb2dedab8d
commit
5b934106cf
1 changed files with 48 additions and 0 deletions
48
docker-compose.social.yml
Normal file
48
docker-compose.social.yml
Normal file
|
@ -0,0 +1,48 @@
|
|||
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
|
Reference in a new issue