Skip to content

Instantly share code, notes, and snippets.

@TheAlchemistKE
Created July 8, 2020 11:34
Show Gist options
  • Save TheAlchemistKE/385d394515cd06c44a434d38d08d07e6 to your computer and use it in GitHub Desktop.
Save TheAlchemistKE/385d394515cd06c44a434d38d08d07e6 to your computer and use it in GitHub Desktop.
version: '2'
services:
db:
image: postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment