2020-03-25 21:27:15 +00:00
|
|
|
version: "2.3"
|
2020-02-09 14:15:46 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
synapse:
|
2022-12-06 14:01:43 +00:00
|
|
|
image: matrixdotorg/synapse:v1.73.0
|
2020-02-09 14:15:46 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
|
|
|
|
- SYNAPSE_REPORT_STATS=yes
|
2020-11-22 15:08:08 +00:00
|
|
|
- UID={{ docker_user.id }}
|
|
|
|
- GID={{ docker_user.id }}
|
2022-11-06 21:55:05 +00:00
|
|
|
- HTTP_PROXY={{ pve_hosts.qbittorrent.ip }}:3128
|
|
|
|
- HTTPS_PROXY={{ pve_hosts.qbittorrent.ip }}:3128
|
2020-02-09 14:15:46 +00:00
|
|
|
volumes:
|
2020-09-26 21:15:44 +01:00
|
|
|
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
|
|
|
|
- "{{ app_data_dir }}/synapse:/data"
|
2020-06-24 18:35:20 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-02-09 14:15:46 +00:00
|
|
|
labels:
|
2020-06-18 20:49:12 +01:00
|
|
|
- traefik.enable=true
|
2022-11-07 13:57:14 +00:00
|
|
|
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)
|
2022-01-15 23:44:06 +00:00
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
2020-02-09 14:15:46 +00:00
|
|
|
|
|
|
|
db:
|
2021-12-22 15:24:37 +00:00
|
|
|
image: postgres:14-alpine
|
2020-02-09 14:15:46 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=synapse
|
|
|
|
- POSTGRES_PASSWORD=synapse
|
2020-11-22 15:07:34 +00:00
|
|
|
- POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
|
2020-02-09 14:15:46 +00:00
|
|
|
volumes:
|
2020-08-22 11:42:03 +01:00
|
|
|
- /mnt/tank/dbs/postgres/synapse:/var/lib/postgresql/data
|
2021-06-12 18:09:18 +01:00
|
|
|
|
2021-06-12 18:53:50 +01:00
|
|
|
redis:
|
2022-11-21 16:02:19 +00:00
|
|
|
image: redis:7-alpine
|
2021-06-12 18:53:50 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- /mnt/tank/dbs/redis/synapse:/data
|
|
|
|
|
2021-06-12 18:09:18 +01:00
|
|
|
admin:
|
|
|
|
image: awesometechnologies/synapse-admin:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
2022-11-07 13:57:14 +00:00
|
|
|
- traefik.http.routers.synapse-admin.rule=Host(`synapse-admin.jakehoward.tech`)
|
2022-01-15 23:44:06 +00:00
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- traefik
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|