feat: initialize deployment governance

This commit is contained in:
hailin
2026-07-01 14:29:24 +08:00
parent 9fc8101f96
commit 85f3fd9af4
12 changed files with 215 additions and 37 deletions

View File

@@ -31,7 +31,11 @@ services:
build:
context: ..
dockerfile: infra/backend.Dockerfile
entrypoint: ["/entrypoint.sh"]
command: ["python", "manage.py", "runserver", "0.0.0.0:8000"]
env_file:
- path: ../.env.example
required: true
- path: ../.env
required: false
ports:
@@ -46,10 +50,12 @@ services:
build:
context: ..
dockerfile: infra/backend.Dockerfile
command: celery -A config.celery worker -l info
env_file:
- path: ../.env.example
required: true
- path: ../.env
required: false
command: celery -A config.celery worker -l info
depends_on:
- backend
- redis
@@ -60,6 +66,11 @@ services:
build:
context: ..
dockerfile: infra/frontend.Dockerfile
env_file:
- path: ../.env.example
required: true
- path: ../.env
required: false
ports:
- "5173:5173"
volumes: