Browse Source

Remove Puma pidfile before boot if container receives SIGTERM (#7052)

pull/4/head
Isatis 6 years ago
committed by Eugen Rochko
parent
commit
c7ac039697
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docker-compose.yml

+ 1
- 1
docker-compose.yml View File

@ -35,7 +35,7 @@ services:
image: tootsuite/mastodon
restart: always
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:
- external_network
- internal_network

Loading…
Cancel
Save