chunker and ui

This commit is contained in:
2026-03-13 14:29:38 -03:00
parent 3eeedebb15
commit ccc478fbaa
69 changed files with 6481 additions and 282 deletions

View File

@@ -17,6 +17,20 @@ x-healthcheck-defaults: &healthcheck-defaults
timeout: 5s
retries: 5
x-python-service: &python-service
build:
context: ..
dockerfile: ctrl/Dockerfile
volumes:
- ..:/app
environment:
<<: *common-env
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
services:
# =============================================================================
# Infrastructure
@@ -92,47 +106,25 @@ services:
# =============================================================================
django:
build:
context: ..
dockerfile: ctrl/Dockerfile
<<: *python-service
command: >
bash -c "python admin/manage.py migrate &&
python admin/manage.py loadbuiltins || true &&
python admin/manage.py runserver 0.0.0.0:8701"
ports:
- "8701:8701"
environment:
<<: *common-env
volumes:
- ..:/app
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
fastapi:
build:
context: ..
dockerfile: ctrl/Dockerfile
<<: *python-service
command: uvicorn core.api.main:app --host 0.0.0.0 --port 8702 --reload
ports:
- "8702:8702"
environment:
<<: *common-env
DJANGO_ALLOW_ASYNC_UNSAFE: "true"
volumes:
- ..:/app
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
grpc:
build:
context: ..
dockerfile: ctrl/Dockerfile
<<: *python-service
command: python -m core.rpc.server
ports:
- "50052:50051"
@@ -140,13 +132,6 @@ services:
<<: *common-env
GRPC_PORT: 50051
GRPC_MAX_WORKERS: 10
volumes:
- ..:/app
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_healthy
celery:
build: