Last active
August 29, 2015 14:11
-
-
Save ivalentinee/e23645066aebab7ca9a6 to your computer and use it in GitHub Desktop.
fig.yml for Rails application
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
db: | |
image: postgres | |
ports: | |
- "5432" | |
mailcatcher: | |
image: simpledrupalcloud/mailcatcher:latest | |
hostname: mailcatcher | |
ports: | |
- "1080:1080" | |
- "1025" | |
elasticsearch: | |
image: elasticsearch | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
redis: | |
image: redis | |
ports: | |
- "6379" | |
web: | |
dns: 8.8.8.8 | |
build: . | |
command: bundle exec unicorn -p 8080 | |
volumes: | |
- ./:/myapp | |
ports: | |
- "8080:8080" | |
environment: | |
- REDIS_URL=redis://redis:6379/ # only for redis | |
links: | |
- db | |
- mailcatcher | |
- redis | |
- elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment