diff schema/Dockerfile @ 116:dad6cf39691e

Renamed remaining wamos stuff to gemma.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 26 Jun 2018 16:40:44 +0200
parents 25b28fd0e256
children 4ade330e571e
line wrap: on
line diff
--- a/schema/Dockerfile	Tue Jun 26 16:20:04 2018 +0200
+++ b/schema/Dockerfile	Tue Jun 26 16:40:44 2018 +0200
@@ -29,13 +29,13 @@
 # Expose the PostgreSQL port
 EXPOSE 5432
 
-# Create WAMOS role and database
+# Create GEMMA role and database
 ADD *.sql ./
 RUN $PGBIN/pg_ctl start -wo "--config_file=$PGCONF" && \
-    psql -c "CREATE USER wamos PASSWORD 'wamos'" && \
-    createdb wamos && \
-    psql -f wamos.sql -d wamos && \
-    psql -f auth.sql -d wamos && \
+    psql -c "CREATE USER gemma PASSWORD 'gemma'" && \
+    createdb gemma && \
+    psql -f gemma.sql -d gemma && \
+    psql -f auth.sql -d gemma && \
     $PGBIN/pg_ctl stop -m smart
 
 # Set the default command to run when starting the container