Created
October 1, 2015 16:40
-
-
Save jrabbit/29caa7e9ae7f0dfff3a1 to your computer and use it in GitHub Desktop.
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
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 |
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
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