mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
Add Infinity service configuration to docker-compose.yml
- Introduced a new service definition for Infinity, including image, container name, restart policy, and command. - Configured health checks and environment variables for the Infinity service. - Added a new volume for Infinity data storage to ensure persistent data management. - Updated service dependencies to include health checks for proper startup order.
This commit is contained in:
@@ -23,6 +23,7 @@ volumes:
|
||||
postiz-uploads:
|
||||
prometheus_data:
|
||||
qdrant_storage:
|
||||
ragflow_infinity_data:
|
||||
ragflow_minio_data:
|
||||
ragflow_mysql_data:
|
||||
valkey-data:
|
||||
@@ -831,6 +832,8 @@ services:
|
||||
- MINIO_SECRET_KEY=${RAGFLOW_MINIO_ROOT_PASSWORD}
|
||||
- MINIO_BUCKET=ragflow
|
||||
depends_on:
|
||||
infinity:
|
||||
condition: service_healthy
|
||||
ragflow-mysql:
|
||||
condition: service_healthy
|
||||
ragflow-minio:
|
||||
@@ -873,3 +876,22 @@ services:
|
||||
start_period: 10s
|
||||
volumes:
|
||||
- ragflow_minio_data:/data
|
||||
|
||||
infinity:
|
||||
image: infiniflow/infinity:latest
|
||||
container_name: infinity
|
||||
profiles: ["ragflow"]
|
||||
restart: unless-stopped
|
||||
command: infinity --config /var/infinity/config.toml
|
||||
environment:
|
||||
- INFINITY_LOG_LEVEL=info
|
||||
ports:
|
||||
- "23817:23817"
|
||||
volumes:
|
||||
- ragflow_infinity_data:/var/infinity/data
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:23817/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
|
||||
Reference in New Issue
Block a user