This repository was archived by the owner on Apr 26, 2024. It is now read-only.
contrib/docker: Ensure correct encoding and locale settings on DB creation#6921
Merged
richvdh merged 2 commits intomatrix-org:developfrom Feb 14, 2020
Merged
contrib/docker: Ensure correct encoding and locale settings on DB creation#6921richvdh merged 2 commits intomatrix-org:developfrom
richvdh merged 2 commits intomatrix-org:developfrom
Conversation
…ation Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
4 tasks
Contributor
Author
|
So, after using this today, I noticed that docker-compose (in combination with the entrypoint postgres uses in that container) really does not like the quotes I used: After removing the quotes, it behaved: I'll open another PR shortly 🤦♂ |
richvdh
pushed a commit
that referenced
this pull request
Feb 25, 2020
I made a mistake in #6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: #6921 (comment) Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
nim65s
added a commit
to nim65s/oxyta.net
that referenced
this pull request
Apr 12, 2020
phil-flex
pushed a commit
to phil-flex/synapse
that referenced
this pull request
Apr 15, 2020
I made a mistake in matrix-org#6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: matrix-org#6921 (comment) Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
According to the docs, these should be explicitly set. In my case, after setting up a homeserver with this compose file as a reference, I ended up with this:
Signed-off-by: Fridtjof Mund fridtjof@das-labor.org