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

Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
code_spécifique_watcha
Sandro 5 years ago committed by GitHub
parent 12d4259000
commit d96ac97d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      contrib/docker/docker-compose.yml

@ -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

Loading…
Cancel
Save