Skip to content

Instantly share code, notes, and snippets.

@rndD
Created March 13, 2017 18:04
Show Gist options
  • Save rndD/e6652bce635ed79764bfbed284dbaccb to your computer and use it in GitHub Desktop.
Save rndD/e6652bce635ed79764bfbed284dbaccb to your computer and use it in GitHub Desktop.
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