Fix Matrix server configuration
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
navidrome:
|
navidrome:
|
||||||
image: deluan/navidrome:latest
|
image: deluan/navidrome:latest
|
||||||
@@ -17,7 +15,6 @@ services:
|
|||||||
# ND_SCANSCHEDULE: 1h
|
# ND_SCANSCHEDULE: 1h
|
||||||
# ND_LOGLEVEL: info
|
# ND_LOGLEVEL: info
|
||||||
# ND_BASEURL: ""
|
# ND_BASEURL: ""
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "/opt/navidrome/data:/data"
|
- "/opt/navidrome/data:/data"
|
||||||
- "/opt/music:/music:ro"
|
- "/opt/music:/music:ro"
|
||||||
@@ -83,33 +80,36 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "127.0.0.1:222:22"
|
- "127.0.0.1:222:22"
|
||||||
|
|
||||||
synapse-db:
|
# synapse-db:
|
||||||
image: postgres:15
|
# image: postgres:15
|
||||||
container_name: synapse-db
|
# container_name: synapse-db
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
environment:
|
# environment:
|
||||||
POSTGRES_DB: synapse
|
# POSTGRES_DB: synapse
|
||||||
POSTGRES_USER: synapse
|
# POSTGRES_USER: synapse
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/synapse_db_password
|
# POSTGRES_PASSWORD_FILE: /run/secrets/synapse_db_password
|
||||||
volumes:
|
# volumes:
|
||||||
- synapse_db_data:/var/lib/postgresql/data
|
# - synapse_db_data:/var/lib/postgresql/data
|
||||||
secrets:
|
# secrets:
|
||||||
- synapse_db_password
|
# - synapse_db_password
|
||||||
networks:
|
# networks:
|
||||||
- web
|
# - web
|
||||||
|
|
||||||
|
# Run this command before start synapse service:
|
||||||
|
# docker run -it --rm \
|
||||||
|
# --mount type=volume,src=raspberry_synapse_data,dst=/data \
|
||||||
|
# -e SYNAPSE_SERVER_NAME=matrix.fscotto.duckdns.org \
|
||||||
|
# -e SYNAPSE_REPORT_STATS=no \
|
||||||
|
# -e SYNAPSE_NO_TLS=true \
|
||||||
|
# matrixdotorg/synapse:latest generate
|
||||||
synapse:
|
synapse:
|
||||||
image: matrixdotorg/synapse:latest
|
image: matrixdotorg/synapse:latest
|
||||||
container_name: synapse
|
container_name: synapse
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- synapse-db
|
- synapse-db
|
||||||
environment:
|
# environment:
|
||||||
SYNAPSE_SERVER_NAME: "matrix.fscotto.duckdns.org"
|
# POSTGRES_PASSWORD_FILE: /run/secrets/synapse_db_password
|
||||||
SYNAPSE_REPORT_STATS: "no"
|
|
||||||
SYNAPSE_NO_TLS: "true"
|
|
||||||
POSTGRES_PASSWORD_FILE: /run/secrets/synapse_db_password
|
|
||||||
SYNAPSE_CONFIG_DIR: /data
|
|
||||||
volumes:
|
volumes:
|
||||||
- synapse_data:/data
|
- synapse_data:/data
|
||||||
expose:
|
expose:
|
||||||
@@ -120,7 +120,7 @@ services:
|
|||||||
- web
|
- web
|
||||||
|
|
||||||
coturn:
|
coturn:
|
||||||
image: instrumentisto/coturn
|
image: coturn/coturn
|
||||||
container_name: coturn
|
container_name: coturn
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
@@ -132,17 +132,6 @@ services:
|
|||||||
- "3478/tcp"
|
- "3478/tcp"
|
||||||
- "49152-49200/udp"
|
- "49152-49200/udp"
|
||||||
|
|
||||||
element-web:
|
|
||||||
image: vectorim/element-web:latest
|
|
||||||
container_name: element-web
|
|
||||||
restart: unless-stopped
|
|
||||||
expose:
|
|
||||||
- "80"
|
|
||||||
volumes:
|
|
||||||
- element_web_config:/app/config
|
|
||||||
networks:
|
|
||||||
- web
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
web:
|
web:
|
||||||
external: false
|
external: false
|
||||||
@@ -163,4 +152,3 @@ secrets:
|
|||||||
volumes:
|
volumes:
|
||||||
synapse_db_data:
|
synapse_db_data:
|
||||||
synapse_data:
|
synapse_data:
|
||||||
element_web_config:
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ min-port=49152
|
|||||||
max-port=49200
|
max-port=49200
|
||||||
realm=matrix.fscotto.duckdns.org
|
realm=matrix.fscotto.duckdns.org
|
||||||
|
|
||||||
user=turnuser:VeryStrongPassword123! # Change me!
|
user=turnuser:CcrN^Yg2&9^ZzXvo
|
||||||
|
|
||||||
lt-cred-mech
|
lt-cred-mech
|
||||||
fingerprint
|
fingerprint
|
||||||
|
|||||||
Reference in New Issue
Block a user