Use 'synapse' as a default postgres user in Docker examples

This commit is contained in:
kaiyou 2018-02-08 20:42:57 +01:00
parent b8a4dceb3c
commit e174c46a29
2 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@ listeners:
database:
name: "psycopg2"
args:
user: "{{ POSTGRES_USER or "matrix" }}"
user: "{{ POSTGRES_USER or "synapse" }}"
password: "{{ POSTGRES_PASSWORD }}"
database: "{{ POSTGRES_DB or "matrix" }}"
database: "{{ POSTGRES_DB or "synapse" }}"
host: "{{ POSTGRES_HOST or "db" }}"
port: "{{ POSTGRES_PORT or "5432" }}"
cp_min: 5

View File

@ -38,7 +38,7 @@ services:
image: postgres:10-alpine
# Change that password, of course!
environment:
- POSTGRES_USER=matrix
- POSTGRES_USER=synapse
- POSTGRES_PASSWORD=changeme
volumes:
# You may store the database tables in a local folder..