Commit 66d1851a by imwangxiaozhou

build(celery): 添加celery服务的空entrypoint配置

重置docker入口点,确保celery worker启动命令正常执行
1 parent 3afe7c8c
......@@ -14,10 +14,8 @@ services:
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_CELERY_BROKER_URL=redis://common.redis.glsx.com:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://common.redis.glsx.com:6379/1
- no_proxy=*.redis.glsx.com,localhost,127.0.0.1
- NO_PROXY=*.redis.glsx.com,localhost,127.0.0.1
- LLMCP_CELERY_BROKER_URL=redis://192.168.3.209:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://192.168.3.209:6379/1
volumes:
- ./logs:/app/logs
restart: unless-stopped
......@@ -25,6 +23,7 @@ services:
celery:
build: .
container_name: llm-call-platform-celery
entrypoint: [""]
command: celery -A app.celery_app worker -l info -P solo
environment:
- LLMCP_DB_HOST=192.168.3.92
......@@ -36,10 +35,8 @@ services:
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_CELERY_BROKER_URL=redis://common.redis.glsx.com:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://common.redis.glsx.com:6379/1
- no_proxy=*.redis.glsx.com,localhost,127.0.0.1
- NO_PROXY=*.redis.glsx.com,localhost,127.0.0.1
- LLMCP_CELERY_BROKER_URL=redis://192.168.3.209:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://192.168.3.209:6379/1
volumes:
- ./logs:/app/logs
restart: unless-stopped
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!