diff --git a/docker-compose.yml b/docker-compose.yml index 8abf7ea..c839220 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,6 @@ services: # Remove backups older than (in days) - REMOVE_BEFORE=7 - POSTGRES_HOST=db - - POSTGRES_DBNAME=gis - POSTGRES_USER=docker - POSTGRES_PASS=docker - POSTGRES_PORT=5432 diff --git a/start.sh b/start.sh index 5829886..3afbd21 100755 --- a/start.sh +++ b/start.sh @@ -61,13 +61,13 @@ export PGUSER=$POSTGRES_USER export PGPASSWORD=\"$POSTGRES_PASS\" export PGPORT=$POSTGRES_PORT export PGHOST=$POSTGRES_HOST -export PGDATABASE=$POSTGRES_DBNAME export DUMPPREFIX=$DUMPPREFIX export ARCHIVE_FILENAME="${ARCHIVE_FILENAME}" export REMOVE_BEFORE=$REMOVE_BEFORE export DBLIST=\"$DBLIST\" " > /pgenv.sh echo "Start script running with these environment options" +cat /pgenv.sh set | grep PG # Now launch cron in then foreground.