mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-01 04:24:22 +00:00
Remove Puma pidfile before boot if container receives SIGTERM (#7052)
This commit is contained in:
parent
023fe5181b
commit
c7ac039697
|
@ -35,7 +35,7 @@ services:
|
||||||
image: tootsuite/mastodon
|
image: tootsuite/mastodon
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env.production
|
env_file: .env.production
|
||||||
command: bundle exec rails s -p 3000 -b '0.0.0.0'
|
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000 -b '0.0.0.0'"
|
||||||
networks:
|
networks:
|
||||||
- external_network
|
- external_network
|
||||||
- internal_network
|
- internal_network
|
||||||
|
|
Loading…
Reference in a new issue