forked from MirrorHub/synapse
Use 'synapse' as a default postgres user in Docker examples
This commit is contained in:
parent
b8a4dceb3c
commit
e174c46a29
2 changed files with 3 additions and 3 deletions
|
@ -50,9 +50,9 @@ listeners:
|
||||||
database:
|
database:
|
||||||
name: "psycopg2"
|
name: "psycopg2"
|
||||||
args:
|
args:
|
||||||
user: "{{ POSTGRES_USER or "matrix" }}"
|
user: "{{ POSTGRES_USER or "synapse" }}"
|
||||||
password: "{{ POSTGRES_PASSWORD }}"
|
password: "{{ POSTGRES_PASSWORD }}"
|
||||||
database: "{{ POSTGRES_DB or "matrix" }}"
|
database: "{{ POSTGRES_DB or "synapse" }}"
|
||||||
host: "{{ POSTGRES_HOST or "db" }}"
|
host: "{{ POSTGRES_HOST or "db" }}"
|
||||||
port: "{{ POSTGRES_PORT or "5432" }}"
|
port: "{{ POSTGRES_PORT or "5432" }}"
|
||||||
cp_min: 5
|
cp_min: 5
|
||||||
|
|
|
@ -38,7 +38,7 @@ services:
|
||||||
image: postgres:10-alpine
|
image: postgres:10-alpine
|
||||||
# Change that password, of course!
|
# Change that password, of course!
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=matrix
|
- POSTGRES_USER=synapse
|
||||||
- POSTGRES_PASSWORD=changeme
|
- POSTGRES_PASSWORD=changeme
|
||||||
volumes:
|
volumes:
|
||||||
# You may store the database tables in a local folder..
|
# You may store the database tables in a local folder..
|
||||||
|
|
Loading…
Reference in a new issue