fix:优化服务

This commit is contained in:
Daniel
2026-04-07 01:00:56 +08:00
parent 8d0b729f2f
commit e606b3dcd6
19 changed files with 899 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
services:
edge-dispatch:
build:
context: .
dockerfile: docker/edge-dispatch/Dockerfile
container_name: edge-dispatch-service
env_file:
- .env
environment:
EDGE_DISPATCH_HOST: 0.0.0.0
EDGE_DISPATCH_PORT: ${EDGE_DISPATCH_PORT:-8020}
command: ["python", "-m", "uvicorn", "app.edge_dispatch_service:app", "--host", "0.0.0.0", "--port", "${EDGE_DISPATCH_PORT:-8020}"]
ports:
- "${EDGE_DISPATCH_PORT:-8020}:${EDGE_DISPATCH_PORT:-8020}"
restart: unless-stopped