From de9c93f8b3de4cbe56a615d15410ba63dfa8fd82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=20Rodr=C3=ADguez?= Date: Sat, 21 Oct 2017 23:03:30 +0200 Subject: [PATCH] Remount /makigas/tmp using tmpfs Docker doesn't seem to properly clean-up the Rails application when it stops, so the remaining server.pid confuses Rails the very next time it starts up. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index deb00c56..06054e3f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,7 @@ services: - database volumes: - '.:/makigas' + tmpfs: /makigas/tmp ports: - '3000:3000' environment: