Update docker-compose.yml
This commit is contained in:
parent
0c6e074870
commit
ee6a0c1591
@ -1,35 +1,43 @@
|
|||||||
version: "3.3"
|
|
||||||
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
postgresql:
|
synapse:
|
||||||
image: postgres:latest
|
image: matrixdotorg/synapse:latest
|
||||||
restart: always
|
container_name: synapse
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: yOuMuStBeKidDiNgMe
|
- TZ=America/Vancouver
|
||||||
POSTGRES_USER: synapse
|
- VIRTUAL_HOST=matrix.airdog.site
|
||||||
POSTGRES_DB: synapse
|
- LETSENCRYPT_HOST=matrix.airdog.site
|
||||||
POSTGRES_INITDB_ARGS: "--encoding='UTF8' --lc-collate='C' --lc-ctype='C'"
|
- LETSENCRYPT_EMAIL=lets_encrypt@treillis.mailer.me
|
||||||
volumes:
|
- VIRTUAL_PORT=8008
|
||||||
- "./postgresdata:/var/lib/postgresql/"
|
- SYNAPSE_SERVER_NAME=matrix.airdog.site
|
||||||
networks: ["matrix_back"]
|
- SYNAPSE_REPORT_STATS=yes
|
||||||
|
labels:
|
||||||
|
- diun.enable=true
|
||||||
synapse:
|
|
||||||
image: "matrixdotorg/synapse:latest"
|
volumes:
|
||||||
container_name: "synapse"
|
- ./data:/data
|
||||||
volumes:
|
restart: unless-stopped
|
||||||
- "./data:/data"
|
depends_on:
|
||||||
environment:
|
- postgresql
|
||||||
VIRTUAL_HOST: "matrix.airdog.site"
|
networks:
|
||||||
VIRTUAL_PORT: 8008
|
synapse_back:
|
||||||
LETSENCRYPT_HOST: "matrix.airdog.site"
|
acme-companion_proxy-tier:
|
||||||
SYNAPSE_SERVER_NAME: "matrix.airdog.site"
|
|
||||||
LETSENCRYPT_EMAIL: "ouch@thetrauma.org"
|
postgresql:
|
||||||
SYNAPSE_REPORT_STATS: "yes"
|
image: postgres:latest
|
||||||
networks: ["franvproxy_test_proxy-tier","matrix_back"]
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=synapse
|
||||||
networks:
|
- POSTGRES_PASSWORD=chengli197
|
||||||
matrix_back:
|
- POSTGRES_DB=synapse
|
||||||
franvproxy_test_proxy-tier:
|
- POSTGRES_INITDB_ARGS=--encoding='UTF8' --lc-collate='C' --lc-ctype='C'
|
||||||
external: true
|
networks:
|
||||||
|
synapse_back:
|
||||||
|
volumes:
|
||||||
|
- ./postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
synapse_back:
|
||||||
|
acme-companion_proxy-tier:
|
||||||
|
external: true
|
||||||
Loading…
Reference in New Issue
Block a user