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