Skip to content

Instantly share code, notes, and snippets.

@blackjid
Created September 21, 2015 17:35
Show Gist options
  • Save blackjid/55c761145259331bdb10 to your computer and use it in GitHub Desktop.
Save blackjid/55c761145259331bdb10 to your computer and use it in GitHub Desktop.
app:
image: platanus/hound
ports:
- 3000
volumes:
- /usr/src/app
links:
- db
- redis
env_file: .env.production
entrypoint: ['/usr/src/app/config/docker/rails-entrypoint.sh']
command: ["bundle","exec","puma","-C","./config/puma.rb"]
redis:
image: redis
db:
image: postgres
web:
image: nginx
labels:
io.rancher.sidekicks: app
volumes_from:
- app
links:
- db
- redis
entrypoint: ['/usr/src/app/config/docker/nginx-entrypoint.sh']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment