Skip to content

Commit

Permalink
remove db from database
Browse files Browse the repository at this point in the history
  • Loading branch information
NyakudyaA committed Apr 19, 2020
1 parent ee629a3 commit 3130e8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3130e8a

Please sign in to comment.