Skip to content

Instantly share code, notes, and snippets.

@kstevens715
Created December 13, 2016 16:13
Show Gist options
  • Save kstevens715/fdf7571cf3a0e3ffa60560a6c453dfe9 to your computer and use it in GitHub Desktop.
Save kstevens715/fdf7571cf3a0e3ffa60560a6c453dfe9 to your computer and use it in GitHub Desktop.
version: '2'
services:
etl:
build:
context: .
dockerfile: Dockerfile
command: sleep infinity
volumes:
- .:/opt/app
- tmp-app-data:/opt/app/tmp
- bundle-etl-data:/home/app/bundle
external_links:
- webadmit_db_2
- webadmit_redis_1
- webadmit_rabbitmq_1
environment:
- DATABASE_URL=postgres://webadmit:12345@db/webadmit_development
- REDIS_URL=redis://redis/10
# Special characters in the password must be URL-encoded: http://www.url-encode-decode.com/
- RABBITMQ_URL=amqp://admin:4dmin%23%40%21@rabbitmq
networks:
- webadmit_default
networks:
webadmit_default:
external: true
volumes:
bundle-etl-data:
driver: local
tmp-app-data:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment