Skip to content

Commit

Permalink
Merge pull request #6 from viralparmarme/feature/docker
Browse files Browse the repository at this point in the history
Add DB environment variable to start bash script
  • Loading branch information
viralparmarme authored Sep 27, 2023
2 parents c5fb42a + a2215a0 commit f94bb0d
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 @@ -3,6 +3,7 @@
set -e

echo "run db migration"
source /app/app.env
/app/migrate -path /app/migration -database "$DB_SOURCE" -verbose up

echo "start the app"
Expand Down

0 comments on commit f94bb0d

Please sign in to comment.