Created
August 7, 2014 21:35
-
-
Save stevepereira/f07bb0d0f8682c40a2a5 to your computer and use it in GitHub Desktop.
Example figfile
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
| app: | |
| build: . | |
| command: python manage.py runserver 0.0.0.0:8000 | |
| volumes: | |
| - .:/app | |
| ports: | |
| - "8000:8000" | |
| links: | |
| - db | |
| - redis | |
| redis: | |
| image: shipyard/redis | |
| ports: | |
| - "6379" | |
| router: | |
| image: shipyard/router | |
| ports: | |
| - "80" | |
| links: | |
| - redis | |
| lb: | |
| image: shipyard/lb | |
| ports: | |
| - "80:80" | |
| links: | |
| - redis | |
| - router | |
| db: | |
| image: shipyard/db | |
| environment: | |
| DB_USER: shipyard | |
| DB_PASS: shipyard | |
| DB_NAME: shipyard | |
| ports: | |
| - "5432" | |
| worker: | |
| build: . | |
| command: python manage.py celery worker -B --scheduler=djcelery.schedulers.DatabaseScheduler -E | |
| volumes: | |
| - .:/app | |
| links: | |
| - db | |
| - redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment