summary refs log tree commit diff
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-02-08 20:42:57 +0100
committerkaiyou <pierre@jaury.eu>2018-02-08 20:42:57 +0100
commite174c46a295ca6e06b217b5dcbcf995b890e6d07 (patch)
treec6a11b805b10b09ac018b3a5711b9f16efaa29af
parentRefactor the start script to better handle mandatory parameters (diff)
downloadsynapse-e174c46a295ca6e06b217b5dcbcf995b890e6d07.tar.xz
Use 'synapse' as a default postgres user in Docker examples
Diffstat (limited to '')
-rw-r--r--contrib/docker/conf/homeserver.yaml4
-rw-r--r--contrib/docker/docker-compose.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/docker/conf/homeserver.yaml b/contrib/docker/conf/homeserver.yaml
index e5d3f965e4..1ca1fe991f 100644
--- a/contrib/docker/conf/homeserver.yaml
+++ b/contrib/docker/conf/homeserver.yaml
@@ -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
diff --git a/contrib/docker/docker-compose.yml b/contrib/docker/docker-compose.yml
index 3d0b3c0ea4..e447bf1212 100644
--- a/contrib/docker/docker-compose.yml
+++ b/contrib/docker/docker-compose.yml
@@ -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..