Skip to content

Commit

Permalink
Fix invalid db_source (#6)
Browse files Browse the repository at this point in the history
* Echo db_source

* remove echo db_source

* remove echo db_source again
  • Loading branch information
igiai authored Sep 15, 2023
1 parent 1389955 commit 3328e80
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ 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 3328e80

Please sign in to comment.