add dendrite

This commit is contained in:
Yann Verry 2022-10-03 21:56:58 +02:00
parent 606e96b9ef
commit 1c44d59a52

View file

@ -50,32 +50,26 @@ services:
volumes: volumes:
- ssl:/ssl:ro - ssl:/ssl:ro
- /etc/haproxy:/usr/local/etc/haproxy:ro - /etc/haproxy:/usr/local/etc/haproxy:ro
ports: - /etc/haproxy:/etc/haproxy:ro
- 8443:443
- 8443:443/udp
- 8000:80
restart: always
mem_limit: 128M
dns: fd00::3:2
networks:
default:
ipv6_address: 2a01:e0a:5b7:35f1::8443
caddy:
image: caddy:alpine
volumes:
- ssl:/etc/dehydrated:ro
- /etc/caddy:/etc/caddy
- /srv/www:/srv/www
ports: ports:
- 443:443 - 443:443
- 443:443/udp - 443:443/udp
- 80:80 - 80:80
restart: always restart: always
mem_limit: 128M mem_limit: 128M
dns: 192.168.3.2 dns: fd00::3:2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::443 ipv6_address: 2a01:e0a:5b7:35f1::443
caddy:
image: caddy:alpine
volumes:
- ssl:/etc/dehydrated:ro
- /etc/caddy:/etc/caddy
- /srv/www:/srv/www
restart: always
mem_limit: 128M
dns: 192.168.3.2
redis: redis:
image: redis:alpine image: redis:alpine
restart: always restart: always
@ -301,6 +295,15 @@ services:
restart: always restart: always
mem_limit: 128M mem_limit: 128M
env_file: env/vaultwarden env_file: env/vaultwarden
dendrite:
image: matrixdotorg/dendrite-monolith:latest
volumes:
- /srv/docker/volume/dendrite/dendrite.yaml:/etc/dendrite/dendrite.yaml:ro
- /srv/docker/volume/dendrite/cert:/cert:ro
- /srv/docker/volume/dendrite/media:/var/dendrite/media
restart: always
mem_limit: 1G
cpus: 0.5
geoipupdate: geoipupdate:
image: "maxmindinc/geoipupdate:latest" image: "maxmindinc/geoipupdate:latest"
volumes: volumes: