]> git.openstreetmap.org Git - rails.git/blobdiff - docker-compose.yml
Allow registration of OAuth 1.0 applications to be disabled
[rails.git] / docker-compose.yml
index ad55e660ec5f05130b4d4b9c0156efcb1dcb2674..cf70b4ff20f9e4d389c617e58bca3b339e07e98c 100644 (file)
@@ -4,6 +4,8 @@ services:
   web:
     build:
       context: .
   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
     volumes:
       - .:/app
       # Prevent these directories from mounting so they're not shared between host OS and Docker
@@ -12,6 +14,8 @@ services:
       - web-tmp:/app/tmp
       # Mount a storage directory that will persist between runs
       - web-storage:/app/storage
       - 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'
     ports:
       - "3000:3000"
     command: bundle exec rails s -p 3000 -b '0.0.0.0'