Skip to content

Instantly share code, notes, and snippets.

@vcastellm
Last active December 6, 2017 17:12
Show Gist options
  • Save vcastellm/537a7f518d0f95b1ca868b940e93b735 to your computer and use it in GitHub Desktop.
Save vcastellm/537a7f518d0f95b1ca868b940e93b735 to your computer and use it in GitHub Desktop.
docker compose for ecs-cli
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