Fix mounting of homeserver.yaml when it does not exist on host (#6913)

Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
pull/7018/head
Sandro 2020-03-01 00:32:26 +01:00 committed by GitHub
parent 12d4259000
commit d96ac97d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -15,10 +15,9 @@ services:
restart: unless-stopped
# See the readme for a full documentation of the environment settings
environment:
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
volumes:
# You may either store all the files in a local folder
- ./matrix-config/homeserver.yaml:/etc/homeserver.yaml
- ./files:/data
# .. or you may split this between different storage points
# - ./files:/data