Skip to content

Commit

Permalink
add: PG_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
Igx22 committed Nov 29, 2024
1 parent 858dde4 commit c55cc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ -z "$DATABASE_URL" ]; then
# 2 prisma orm config
# 3 k8s script passes this
# for docker we pass only user/pass/host/db
DATABASE_URL="postgres://${PG_USER}:${PG_PASS}@${PG_HOST}:5432/${DB_NAME}"
DATABASE_URL="postgres://${PG_USER}:${PG_PASS}@${PG_HOST}:${PG_PORT}/${DB_NAME}"
export DATABASE_URL
fi

Expand Down

0 comments on commit c55cc3a

Please sign in to comment.