Change sample config's postgres user to synapse_user (#7889)
The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`. However, uncommenting the postgres defaults in the sample config leave you with user `synapse`. This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
This commit is contained in:
parent
438020732e
commit
5ecf98f59e
|
@ -0,0 +1 @@
|
||||||
|
Change the sample config postgres user section to use `synapse_user` instead of `synapse` to align with the documentation.
|
|
@ -685,7 +685,7 @@ caches:
|
||||||
#database:
|
#database:
|
||||||
# name: psycopg2
|
# name: psycopg2
|
||||||
# args:
|
# args:
|
||||||
# user: synapse
|
# user: synapse_user
|
||||||
# password: secretpassword
|
# password: secretpassword
|
||||||
# database: synapse
|
# database: synapse
|
||||||
# host: localhost
|
# host: localhost
|
||||||
|
|
|
@ -55,7 +55,7 @@ DEFAULT_CONFIG = """\
|
||||||
#database:
|
#database:
|
||||||
# name: psycopg2
|
# name: psycopg2
|
||||||
# args:
|
# args:
|
||||||
# user: synapse
|
# user: synapse_user
|
||||||
# password: secretpassword
|
# password: secretpassword
|
||||||
# database: synapse
|
# database: synapse
|
||||||
# host: localhost
|
# host: localhost
|
||||||
|
|
Loading…
Reference in New Issue