X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ff8ef52b71d544e6660ea7823a43397165cd180..121ef82e2c8ad79bfc8dc06249e162c8a2f4e857:/docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml index ad55e660e..90cf4ddf6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,9 @@ -version: "3" - services: web: build: context: . + environment: + PIDFILE: /tmp/pids/server.pid volumes: - .:/app # Prevent these directories from mounting so they're not shared between host OS and Docker @@ -12,6 +12,8 @@ services: - web-tmp:/app/tmp # Mount a storage directory that will persist between runs - web-storage:/app/storage + tmpfs: + /tmp/pids/ ports: - "3000:3000" command: bundle exec rails s -p 3000 -b '0.0.0.0'