Skip to content

Instantly share code, notes, and snippets.

@maxehmookau
Created August 14, 2017 13:34
Show Gist options
  • Save maxehmookau/c919aa2ffcf83bba009c16e2713bf2da to your computer and use it in GitHub Desktop.
Save maxehmookau/c919aa2ffcf83bba009c16e2713bf2da to your computer and use it in GitHub Desktop.
version: '2'
services:
redis:
image: redis
db:
image: postgres
volumes:
- "./.data/db:/var/lib/postgresql"
web:
build: .
command: bundle exec puma -C config/puma.rb
environment:
RAILS_ENV: development
PORT: 3000
volumes:
- .:/opt/substrakt/myhealthcare
ports:
- "3000:3000"
depends_on:
- db
- redis
sidekiq:
build: .
volumes:
- .:/opt/substrakt/myhealthcare
links:
- db
- redis
command: bundle exec sidekiq -C config/sidekiq.yml
clock:
build: .
volumes:
- .:/opt/substrakt/myhealthcare
links:
- db
- redis
command: bundle exec clockwork clock.rb
mailcatcher:
image: schickling/mailcatcher
ports:
- 1025:1025
- 1080:1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment