Skip to content

Commit

Permalink
3 adding env vars print to entryoint
Browse files Browse the repository at this point in the history
  • Loading branch information
slmjy committed Oct 2, 2023
1 parent 2b232b0 commit c90483d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

echo "Running webstrcontainer with parameters: DATABASE_URL='${DATABASE_URL:-0}' WEBSTR_DATABASE_DATA_UPGRADE='${WEBSTR_DATABASE_DATA_UPGRADE:-0}'"

if [ ${WEBSTR_DATABASE_MIGRATE:-0} == "True" ]
then
echo "Running database upgrade ${DATABASE_URL}"
Expand Down

0 comments on commit c90483d

Please sign in to comment.