changeset 404:41b37a531843

Fix service user in Docker
author Tom Gottfried <tom@intevation.de>
date Wed, 15 Aug 2018 14:11:00 +0200
parents 46a80016293c
children c08593afdd02
files example_conf.toml schema/Dockerfile
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/example_conf.toml	Wed Aug 15 12:20:16 2018 +0200
+++ b/example_conf.toml	Wed Aug 15 14:11:00 2018 +0200
@@ -1,5 +1,5 @@
 dbhost = "gemma_db"
-service-user = "paul"
+service-user = "gemma_service"
 service-password = "pw2Reset4"
 host = "0.0.0.0"
 sessions = "/tmp/gemma_session.data"
--- a/schema/Dockerfile	Wed Aug 15 12:20:16 2018 +0200
+++ b/schema/Dockerfile	Wed Aug 15 14:11:00 2018 +0200
@@ -31,7 +31,7 @@
 COPY *.sql *.sh ./
 COPY demo-data ./demo-data/
 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \
-    ./install-db.sh --demo && \
+    ./install-db.sh --demo --servicepw "pw2Reset4" && \
     $PGBIN/pg_ctl stop -m smart
 
 # Set the default command to run when starting the container