Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
chore: remove hardcoded database name next-payload-3
Browse files Browse the repository at this point in the history
  • Loading branch information
tkrotoff committed Aug 10, 2024
1 parent 63c9ff1 commit f9e20cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions start-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ if [ "$DB_PASSWORD" = "password" ]; then
echo "You are using the default database password"
fi

docker run --name $DB_CONTAINER_NAME -e POSTGRES_PASSWORD=$DB_PASSWORD -e POSTGRES_HOST_AUTH_METHOD=trust -e POSTGRES_DB=next-payload-3 -d -p 5432:5432 docker.io/postgres
docker run --name $DB_CONTAINER_NAME -e POSTGRES_PASSWORD=$DB_PASSWORD -e POSTGRES_HOST_AUTH_METHOD=trust -e POSTGRES_DB=$DB_CONTAINER_NAME -d -p 5432:5432 docker.io/postgres

echo "Database container was successfully created"

0 comments on commit f9e20cc

Please sign in to comment.