Created
March 13, 2017 18:04
-
-
Save rndD/e6652bce635ed79764bfbed284dbaccb to your computer and use it in GitHub Desktop.
This file contains 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
version: '2' | |
- POSTGRES_PASSWORD=postgres | |
- POSTGRES_DB=postgres | |
ports: | |
- "5433:5433" | |
# Redis | |
redis: | |
image: redis:2.8.19 | |
hostname: redis | |
# Django web server | |
web: | |
image: kodiers/techforline_mooc:latest | |
volumes: | |
- ./local_settings.py:/srv/mooc/mooc_tfl/docker_settings.py | |
- ./static/:/srv/mooc/static | |
ports: | |
- "8001:8000" | |
# set up links so that web knows about db, rabbit and redis | |
links: | |
- db | |
- redis | |
depends_on: | |
- db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment