Skip to content

Commit

Permalink
feat(api-cardano-db-hasura): add custom $SECRET_DIR support for docke…
Browse files Browse the repository at this point in the history
…r image
  • Loading branch information
rcmorano committed Sep 16, 2020
1 parent c5d4848 commit ff79b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-cardano-db-hasura/hasura/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

SECRET_DIR="/run/secrets"
SECRET_DIR=${SECRET_DIR:-/run/secrets}
POSTGRES_DB=${POSTGRES_DB:-$(cat ${SECRET_DIR}/postgres_db)}
POSTGRES_USER=${POSTGRES_USER:-$(cat ${SECRET_DIR}/postgres_user)}
POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-$(cat ${SECRET_DIR}/postgres_password)}
Expand Down

0 comments on commit ff79b10

Please sign in to comment.