0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-11 23:29:11 +02:00

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..