chore: 生产 docker-compose.yml 添加 container_name
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ version: '3.8'
|
||||
services:
|
||||
# ========== 搜索引擎 ==========
|
||||
searxng:
|
||||
container_name: cyrene_searxng
|
||||
image: searxng/searxng:latest
|
||||
volumes:
|
||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||
@@ -13,6 +14,7 @@ services:
|
||||
|
||||
# ========== 反向代理 ==========
|
||||
caddy:
|
||||
container_name: cyrene_caddy
|
||||
image: caddy:2-alpine
|
||||
ports:
|
||||
- "80:80"
|
||||
@@ -26,6 +28,7 @@ services:
|
||||
|
||||
# ========== 后端服务 ==========
|
||||
gateway:
|
||||
container_name: cyrene_gateway
|
||||
build: ./backend/gateway
|
||||
environment:
|
||||
GATEWAY_PORT: "8080"
|
||||
@@ -52,6 +55,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
ai-core:
|
||||
container_name: cyrene_ai_core
|
||||
build: ./backend/ai-core
|
||||
environment:
|
||||
AI_CORE_PORT: "8081"
|
||||
@@ -72,6 +76,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
memory-service:
|
||||
container_name: cyrene_memory_service
|
||||
build: ./backend/memory-service
|
||||
environment:
|
||||
PORT: "8091"
|
||||
@@ -86,6 +91,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
voice-service:
|
||||
container_name: cyrene_voice_service
|
||||
build: ./backend/voice-service
|
||||
environment:
|
||||
PORT: "8093"
|
||||
@@ -95,6 +101,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
iot-debug-service:
|
||||
container_name: cyrene_iot_debug_service
|
||||
build: ./backend/iot-debug-service
|
||||
environment:
|
||||
IOT_DEBUG_PORT: "8083"
|
||||
@@ -102,6 +109,7 @@ services:
|
||||
|
||||
# ========== 基础设施 ==========
|
||||
postgres:
|
||||
container_name: cyrene_postgres
|
||||
image: pgvector/pgvector:pg16
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
@@ -117,6 +125,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
container_name: cyrene_redis
|
||||
image: redis:7-alpine
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
@@ -128,12 +137,14 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
qdrant:
|
||||
container_name: cyrene_qdrant
|
||||
image: qdrant/qdrant:latest
|
||||
volumes:
|
||||
- qdrant_data:/qdrant/storage
|
||||
restart: unless-stopped
|
||||
|
||||
minio:
|
||||
container_name: cyrene_minio
|
||||
image: minio/minio:latest
|
||||
command: server /data
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user