Last active
October 29, 2016 14:35
-
-
Save ramontayag/8a7beb809808a84998e09775e343cfa9 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
redis: | |
image: redis:3.0.5 | |
expose: | |
- 6379 | |
volumes: | |
- redis:/var/lib/redis/data | |
web: | |
build: . | |
command: bundle exec rails s -p 3000 -b '0.0.0.0' | |
volumes: | |
- .:/myapp | |
ports: | |
- "3000:3000" | |
env_file: | |
- .env.development | |
- .env.local | |
depends_on: | |
- db | |
- redis | |
volumes_from: | |
- bundle | |
sidekiq: | |
build: . | |
command: bundle exec sidekiq -C config/sidekiq.yml | |
volumes: | |
- .:/myapp | |
depends_on: | |
- db | |
- redis | |
env_file: | |
- .env.development | |
- .env.local | |
volumes_from: | |
- bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment