Run migrations during app startup
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2024-03-27 00:55:00 -03:00
parent 953faaca83
commit f6c2527182
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ version: "3.8"
services:
app:
image: git.coopcloud.tech/coop-cloud-chaos-patchs/hometown:v4.0.15-hometown-1.1.1
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec db:migrate; bundle exec rails s -p 3000"
networks: &bothNetworks
- proxy
- internal_network