mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-24 12:19:24 -05:00
Use 'synapse' as a default postgres user in Docker examples
This commit is contained in:
parent
b8a4dceb3c
commit
e174c46a29
@ -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
|
||||
|
@ -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..
|
||||
|
Loading…
Reference in New Issue
Block a user