Created
April 1, 2015 07:27
-
-
Save toolmantim/c38f221207da77340551 to your computer and use it in GitHub Desktop.
Example docker-compose.yml for a Rails application
This file contains 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
app: | |
build: . | |
links: | |
- db:db | |
- redis:redis | |
- memcache:memcache | |
volumes: | |
- ./:/app | |
environment: | |
PGHOST: db | |
PGUSER: postgres | |
REDIS_URL: redis://redis | |
MEMCACHE_SERVERS: memcache | |
db: | |
image: postgres | |
redis: | |
image: redis | |
memcache: | |
image: tutum/memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment