Skip to content

Commit

Permalink
Remount /makigas/tmp using tmpfs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
danirod committed Oct 21, 2017
1 parent 5eaba9b commit de9c93f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
- database
volumes:
- '.:/makigas'
tmpfs: /makigas/tmp
ports:
- '3000:3000'
environment:
Expand Down

0 comments on commit de9c93f

Please sign in to comment.