Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created October 1, 2015 16:40
Show Gist options
  • Save jrabbit/29caa7e9ae7f0dfff3a1 to your computer and use it in GitHub Desktop.
Save jrabbit/29caa7e9ae7f0dfff3a1 to your computer and use it in GitHub Desktop.
web:
build: .
links:
- db
- redshirt
- taskd
command: python2.7 manage.py runserver 0.0.0.0:8000
ports:
- "8000:8000"
volumes:
- .:/usr/src/gegant
environment:
- FERNET_KEY
- GOOGLE_REDIRECT
- WUNDERLIST_REDIRECT
- DATABASE_URL=postgres://postgres@db:5432/postgres
- TW_SERVER=taskd
awayteam:
build: awayteam/
links:
- web
environment:
- GEGANT_HOST=web
volumes_from:
- taskd
redshirt:
build: awayteam/redshirt/
volumes_from:
- taskd
taskd:
build: awayteam/taskd/
volumes:
- /var/lib/taskd
db:
image: postgres
rabbit:
image: rabbitmq
taskqueue:
build: .
links:
- rabbit
command: python2.7 /usr/src/gegant/tasks.py
docker run -it --rm gegant_web python2.7 manage.py runserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment