Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: postgres
- volumes:
- - ./tmp/db:/var/lib/postgresql/data
- web:
- build: .
- command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
- volumes:
- - .:/app
- ports:
- - "3000:3000"
- depends_on:
- - db
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement