Created
August 14, 2017 13:34
-
-
Save maxehmookau/c919aa2ffcf83bba009c16e2713bf2da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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