mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
fix(matrix): separate config and data mounts for Synapse
Mount config files to /config and data directory to /data to avoid mount conflicts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b017534f0b
commit
b1a8ca861e
2 changed files with 4 additions and 4 deletions
|
|
@ -769,7 +769,7 @@ services:
|
|||
postgres:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
SYNAPSE_CONFIG_PATH: /data/homeserver.yaml
|
||||
SYNAPSE_CONFIG_PATH: /config/homeserver.yaml
|
||||
TZ: Europe/Berlin
|
||||
# Secrets (override in .env)
|
||||
SYNAPSE_DB_PASSWORD: ${SYNAPSE_DB_PASSWORD:-synapse-secure-password}
|
||||
|
|
@ -778,8 +778,8 @@ services:
|
|||
SYNAPSE_MACAROON_SECRET: ${SYNAPSE_MACAROON_SECRET:-change-me-macaroon-secret}
|
||||
SYNAPSE_REGISTRATION_SECRET: ${SYNAPSE_REGISTRATION_SECRET:-change-me-registration-secret}
|
||||
volumes:
|
||||
- ./docker/matrix/homeserver.yaml:/data/homeserver.yaml:ro
|
||||
- ./docker/matrix/log.config.yaml:/data/log.config.yaml:ro
|
||||
- ./docker/matrix/homeserver.yaml:/config/homeserver.yaml:ro
|
||||
- ./docker/matrix/log.config.yaml:/config/log.config.yaml:ro
|
||||
- ./docker/matrix/data:/data
|
||||
ports:
|
||||
- "8008:8008"
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ database:
|
|||
# Logging
|
||||
# ============================================
|
||||
|
||||
log_config: "/data/log.config.yaml"
|
||||
log_config: "/config/log.config.yaml"
|
||||
|
||||
# ============================================
|
||||
# Media Storage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue