docker_practice/compose/demo/django/docker-compose.yml

14 lines
184 B
Go

version: "3"
services:
db:
image: postgres
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"