Update compose.yaml
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
|||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik"
|
image: "traefik"
|
||||||
|
container_name: matrix-traefik
|
||||||
restart: "always"
|
restart: "always"
|
||||||
command:
|
command:
|
||||||
- "--api=true"
|
- "--api=true"
|
||||||
@@ -24,12 +25,14 @@ services:
|
|||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: "nginx:1.22.0"
|
image: "nginx:1.22.0"
|
||||||
|
container_name: matrix-nginx
|
||||||
restart: "always"
|
restart: "always"
|
||||||
volumes:
|
volumes:
|
||||||
- /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- /opt/02_messaging/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
image: docker.io/matrixdotorg/synapse:v1.63.0
|
image: docker.io/matrixdotorg/synapse:v1.63.0
|
||||||
|
container_name: matrix-synapse
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
|
||||||
@@ -41,6 +44,7 @@ services:
|
|||||||
synapse_db:
|
synapse_db:
|
||||||
image: docker.io/postgres:14-alpine
|
image: docker.io/postgres:14-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
container_name: matrix-synapse-db
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=synapse
|
- POSTGRES_USER=synapse
|
||||||
- POSTGRES_PASSWORD=aComplexPassphraseNobodyCanGuess
|
- POSTGRES_PASSWORD=aComplexPassphraseNobodyCanGuess
|
||||||
|
|||||||
Reference in New Issue
Block a user