Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4013'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Apr 30, 2023
2 parents 9990724 + e377bc7 commit 930d534
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ 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
Expand All @@ -12,6 +14,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'
Expand Down

0 comments on commit 930d534

Please sign in to comment.