Skip to content

Commit

Permalink
contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (matrix-org#6984)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fridtjof authored and phil-flex committed Mar 27, 2020
1 parent dd83975 commit 660cd73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6984.docker
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `POSTGRES_INITDB_ARGS` in the `contrib/docker/docker-compose.yml` example docker-compose configuration.
2 changes: 1 addition & 1 deletion contrib/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- POSTGRES_PASSWORD=changeme
# ensure the database gets created correctly
# 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:
# You may store the database tables in a local folder..
- ./schemas:/var/lib/postgresql/data
Expand Down

0 comments on commit 660cd73

Please sign in to comment.