-
-
Save CodeFreezr/84ba880fda4fa3e71818c05bfd6b0dca to your computer and use it in GitHub Desktop.
docker compose for ecs-cli
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
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