Skip to content

Instantly share code, notes, and snippets.

@brancusi
Last active July 27, 2016 17:47
Show Gist options
  • Select an option

  • Save brancusi/e4c2294645c716d503f109fc6b00ed62 to your computer and use it in GitHub Desktop.

Select an option

Save brancusi/e4c2294645c716d503f109fc6b00ed62 to your computer and use it in GitHub Desktop.
version: '2'
services:
web:
image: inspiritus_web:latest
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
ports:
- "3000:3000"
links:
- db
- redis
volumes:
- .:/app/in-spiritus
sidekiq:
image: inspiritus_web:latest
command: bundle exec sidekiq
links:
- db
- redis
volumes:
- .:/app/in-spiritus
db:
image: postgres
redis:
image: redis
ports:
- "6379:6379"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment