-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
contrib/docker-compose: fix mount that overrides containers' /etc #6656
Conversation
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.
Signed-off-by: Fabian Meyer [email protected] |
I created the issue #6650 After that I continued investigating for the reason why the Riot.im Android app did not receive any push notifications. I found out that the proposed docker-compose.yaml mounts a folder with the destination "/etc". This lead to the containers "/etc" folder to be completely overridden. As all trusted ca-certs are also stored under "etc" this seemingly caused the issue with the push notifications. After I only mounting the homeserver.yaml to "/etc", synapse was able to send push notifications |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh gosh, yes, that would do it. Thanks for investigating and figuring out the solution!
one minor change below
Sure 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
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.
Pull Request Checklist