diff --git a/start.sh b/start.sh index 8f4cca1..adf11b5 100755 --- a/start.sh +++ b/start.sh @@ -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