about summary refs log tree commit diff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-05-25 21:41:25 +0200
committerGitHub <noreply@github.com>2018-05-25 21:41:25 +0200
commita4f68f90db157ac679e34c393ba7b1a19fa4545d (patch)
tree2bb72be7d5db25ca5f1ae7ff6cf5944d419f4922 /docker-compose.yml
parent9b75a1310420fdacaf2831585394635a01eef9e5 (diff)
parent11cc2e099ae44a73a1a3e1aa606d607551d3d021 (diff)
Merge pull request #518 from ThibG/glitch-soc/merge-master
Merge upstream changes
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 8058326dc..496fb2548 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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