Trying to get Render to run the migrations

This commit is contained in:
Ryan W
2023-09-30 21:18:46 -07:00
parent 965a7fad78
commit 9ce6995402
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -9,6 +9,4 @@ echo "${*}"
# ./bin/rails db:prepare # ./bin/rails db:prepare
# fi # fi
if [ -z "$RENDER" ]; then echo "var is unset"; else bin/rails db:migrate; fi
exec "${@}" exec "${@}"
+1 -1
View File
@@ -13,7 +13,7 @@ services:
region: oregon region: oregon
branch: main branch: main
plan: free plan: free
# dockerCommand: "bundle exec puma -C config/puma.rb" dockerCommand: "bundle exec puma -C config/puma.rb"
numInstances: 1 numInstances: 1
healthCheckPath: /up healthCheckPath: /up
envVars: envVars: