Last active
December 6, 2017 17:12
-
-
Save vcastellm/537a7f518d0f95b1ca868b940e93b735 to your computer and use it in GitHub Desktop.
docker compose for ecs-cli
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: | |
memcached: | |
image: memcached | |
app: | |
image: user/app | |
environment: | |
RAILS_ENV: development | |
DATABASE_HOST: postgres.hostname | |
DATABASE_USERNAME: postgres | |
DATABASE_NAME: app_development | |
SECRET_KEY_BASE: xxx | |
MEMCACHED_URL: memcached.hostname | |
ports: | |
- 3000 | |
links: | |
- memcached | |
queues: | |
image: user/app | |
command: sidekiq -C config/sidekiq.yml | |
environment: | |
RAILS_ENV: development | |
DATABASE_HOST: postgres.hostname | |
DATABASE_USERNAME: postgres | |
DATABASE_NAME: app_development | |
SECRET_KEY_BASE: xxx | |
MEMCACHED_URL: memcached.hostname | |
links: | |
- memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment