Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 4, 2024
1 parent c18e0ac commit a2be190
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: notreallyapassword
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
ACOUSTID_SQL_DIR: /mnt/acoustid/sql
18 changes: 9 additions & 9 deletions scripts/dev/create-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

set -e

#if [ -n "$POSTGRES_HOST" ]
#then
# export PGHOST="$POSTGRES_HOST"
#fi

#if [ -n "$POSTGRES_PORT" ]
#then
# export PGPORT="$POSTGRES_PORT"
#fi
if [ -n "$POSTGRES_HOST" ]
then
export PGHOST="$POSTGRES_HOST"
fi

if [ -n "$POSTGRES_PORT" ]
then
export PGPORT="$POSTGRES_PORT"
fi

if [ -n "$POSTGRES_USER" ]
then
Expand Down

0 comments on commit a2be190

Please sign in to comment.