Skip to content

Commit

Permalink
Merge branch 'main' into fix/see-db-source
Browse files Browse the repository at this point in the history
  • Loading branch information
igiai authored Sep 15, 2023
2 parents 41593fb + 1389955 commit fd7f152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ echo "run db migration"
# If Dockerfile is not run with docker-compose, DB_SOURCE env var is not defined, so we must extract env var values from the app.env
# file so that it can be used in the migrate step here
source /app/app.env
echo $DB_SOURCE
# When ran with dokcer-composee DB_SOURCE is defined in the docker-compose.yaml and the below command will later use its value
/app/migrate -path /app/migration -database "$DB_SOURCE" -verbose up

Expand Down

0 comments on commit fd7f152

Please sign in to comment.