mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:53:50 +01:00
contrib/docker-compose: fixing mount that overrides containers' /etc (#6656)
The mount in the form of ./matrix-config:/etc overwrites the contents of the container /etc folder. Since all valid ca certificates are stored in /etc, the synapse.push.httppusher, for example, cannot validate the certificate from matrix.org.
This commit is contained in:
parent
91718b3f23
commit
dd57715de2
2 changed files with 2 additions and 1 deletions
1
changelog.d/6656.doc
Normal file
1
changelog.d/6656.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
No more overriding the entire /etc folder of the container in docker-compose.yaml. Contributed by Fabian Meyer.
|
|
@ -18,7 +18,7 @@ services:
|
||||||
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
|
||||||
volumes:
|
volumes:
|
||||||
# You may either store all the files in a local folder
|
# You may either store all the files in a local folder
|
||||||
- ./matrix-config:/etc
|
- ./matrix-config/homeserver.yaml:/etc/homeserver.yaml
|
||||||
- ./files:/data
|
- ./files:/data
|
||||||
# .. or you may split this between different storage points
|
# .. or you may split this between different storage points
|
||||||
# - ./files:/data
|
# - ./files:/data
|
||||||
|
|
Loading…
Reference in a new issue