23 lines
388 B
YAML
23 lines
388 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
db:
|
|
image: postgres:15
|
|
env_file:
|
|
- web.env
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
web:
|
|
build: ./service/zircon_web
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- db
|
|
env_file:
|
|
- web.env
|
|
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
|
|
|
volumes:
|
|
postgres_data:
|