fix: tự động chạy ai
This commit is contained in:
+7
-5
@@ -9,12 +9,14 @@ services:
|
||||
container_name: ai-novel-generator
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "7860:7860" # Gradio Web UI
|
||||
- "8000:8000" # FastAPI
|
||||
environment:
|
||||
# Cấu hình cơ bản
|
||||
- MODE=production
|
||||
- HOST=0.0.0.0
|
||||
- PORT=8000
|
||||
- NOVEL_TOOL_PORT=7860
|
||||
- CONCURRENCY=4
|
||||
|
||||
# Cấu hình log
|
||||
@@ -81,7 +83,7 @@ services:
|
||||
container_name: ai-novel-redis
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "6379:6379"
|
||||
- "6380:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: redis-server --appendonly yes
|
||||
@@ -99,8 +101,8 @@ services:
|
||||
container_name: ai-novel-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "9980:80"
|
||||
- "9443:443"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./ssl:/etc/nginx/ssl
|
||||
@@ -136,4 +138,4 @@ volumes:
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ai-novel-network
|
||||
name: ai-novel-network
|
||||
|
||||
Reference in New Issue
Block a user