2017-11-23 15:48:52 +08:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres
|
2020-12-09 23:49:26 +08:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: 'postgres'
|
2017-11-23 15:48:52 +08:00
|
|
|
|
|
|
|
web:
|
|
|
|
build: .
|
2019-07-03 11:47:02 +08:00
|
|
|
command: python manage.py runserver 0.0.0.0:8000
|
2017-11-23 15:48:52 +08:00
|
|
|
volumes:
|
|
|
|
- .:/code
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|