docker-compose.yml
1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
api:
build: .
container_name: llm-call-platform
ports:
- "8011:8011"
environment:
- LLMCP_DB_HOST=192.168.3.92
- LLMCP_DB_PORT=3308
- LLMCP_DB_USER=biz_multi_agentic
- LLMCP_DB_PASSWORD=JEIjHeLT
- LLMCP_DB_NAME=ai_llmbase
- LLMCP_ENCRYPTION_KEY=${LLMCP_ENCRYPTION_KEY:-change-me-in-production-must-be-32-bytes-long!}
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_LOG_RETENTION_DAYS=7
- 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
celery:
build: .
container_name: llm-call-platform-celery
entrypoint: [""]
command: celery -A app.celery_app worker -l info -P prefork --concurrency=4
environment:
- LLMCP_DB_HOST=192.168.3.92
- LLMCP_DB_PORT=3308
- LLMCP_DB_USER=biz_multi_agentic
- LLMCP_DB_PASSWORD=JEIjHeLT
- LLMCP_DB_NAME=ai_llmbase
- LLMCP_ENCRYPTION_KEY=${LLMCP_ENCRYPTION_KEY:-change-me-in-production-must-be-32-bytes-long!}
- LLMCP_JWT_SECRET_KEY=${LLMCP_JWT_SECRET_KEY:-change-me-in-production}
- LLMCP_LOG_LEVEL=INFO
- LLMCP_LOG_STORAGE_PATH=/app/logs
- LLMCP_LOG_RETENTION_DAYS=7
- LLMCP_CELERY_BROKER_URL=redis://192.168.3.209:6379/0
- LLMCP_CELERY_RESULT_BACKEND=redis://192.168.3.209:6379/1
- LLMCP_DB_POOL_SIZE=4
volumes:
- ./logs:/app/logs
restart: unless-stopped