Skip to content
Snippets Groups Projects
Unverified Commit 4aea0bd2 authored by Fridtjof Mund's avatar Fridtjof Mund Committed by GitHub
Browse files

contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)

I made a mistake in https://github.com/matrix-org/synapse/pull/6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: https://github.com/matrix-org/synapse/pull/6921#issuecomment-590657154



Signed-off-by: default avatarFridtjof Mund <fridtjof@das-labor.org>
parent 69165956
No related branches found
No related tags found
No related merge requests found
Fix `POSTGRES_INITDB_ARGS` in the `contrib/docker/docker-compose.yml` example docker-compose configuration.
...@@ -58,7 +58,7 @@ services: ...@@ -58,7 +58,7 @@ services:
- POSTGRES_PASSWORD=changeme - POSTGRES_PASSWORD=changeme
# ensure the database gets created correctly # ensure the database gets created correctly
# https://github.com/matrix-org/synapse/blob/master/docs/postgres.md#set-up-database # https://github.com/matrix-org/synapse/blob/master/docs/postgres.md#set-up-database
- POSTGRES_INITDB_ARGS="--encoding=UTF-8 --lc-collate=C --lc-ctype=C" - POSTGRES_INITDB_ARGS=--encoding=UTF-8 --lc-collate=C --lc-ctype=C
volumes: volumes:
# You may store the database tables in a local folder.. # You may store the database tables in a local folder..
- ./schemas:/var/lib/postgresql/data - ./schemas:/var/lib/postgresql/data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment