RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Change docker container restart policy (#11695)
Jin Haie7022db9a4d4
diff --git a/docker/docker-compose-CN-oc9.yml b/docker/docker-compose-CN-oc9.ymlindex 3a0b786ba6..501b2044f3 100644--- a/docker/docker-compose-CN-oc9.yml+++ b/docker/docker-compose-CN-oc9.yml@@ -23,7 +23,7 @@ services:env_file: .envnetworks:- ragflow- restart: on-failure+ restart: unless-stopped# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.extra_hosts:@@ -48,7 +48,7 @@ services:env_file: .envnetworks:- ragflow- restart: on-failure+ restart: unless-stopped# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.extra_hosts:diff --git a/docker/docker-compose-base.yml b/docker/docker-compose-base.ymlindex 433dc03d0b..0a3f0b787d 100644--- a/docker/docker-compose-base.yml+++ b/docker/docker-compose-base.yml@@ -31,7 +31,7 @@ services:retries: 120networks:- ragflow- restart: on-failure+ restart: unless-stoppedopensearch01:profiles:@@ -67,7 +67,7 @@ services:retries: 120networks:- ragflow- restart: on-failure+ restart: unless-stoppedinfinity:profiles:@@ -94,7 +94,7 @@ services:interval: 10stimeout: 10sretries: 120- restart: on-failure+ restart: unless-stoppedoceanbase:profiles:@@ -119,7 +119,7 @@ services:timeout: 10snetworks:- ragflow- restart: on-failure+ restart: unless-stoppedsandbox-executor-manager:profiles:@@ -147,7 +147,7 @@ services:interval: 10stimeout: 10sretries: 120- restart: on-failure+ restart: unless-stoppedmysql:# mysql:5.7 linux/arm64 image is unavailable.@@ -175,7 +175,7 @@ services:interval: 10stimeout: 10sretries: 120- restart: on-failure+ restart: unless-stoppedminio:image: quay.io/minio/minio:RELEASE.2025-06-13T11-33-47Z@@ -191,7 +191,7 @@ services:- minio_data:/datanetworks:- ragflow- restart: on-failure+ restart: unless-stoppedhealthcheck:test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]interval: 10s@@ -209,7 +209,7 @@ services:- redis_data:/datanetworks:- ragflow- restart: on-failure+ restart: unless-stoppedhealthcheck:test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]interval: 10s@@ -228,7 +228,7 @@ services:networks:- ragflowcommand: ["--model-id", "/data/${TEI_MODEL}", "--auto-truncate"]- restart: on-failure+ restart: unless-stoppedtei-gpu:@@ -249,7 +249,7 @@ services:- driver: nvidiacount: allcapabilities: [gpu]- restart: on-failure+ restart: unless-stoppedkibana:@@ -271,7 +271,7 @@ services:retries: 120networks:- ragflow- restart: on-failure+ restart: unless-stoppedvolumes:diff --git a/docker/docker-compose-macos.yml b/docker/docker-compose-macos.ymlindex 2618919f6f..b667108fc4 100644--- a/docker/docker-compose-macos.yml+++ b/docker/docker-compose-macos.yml@@ -22,7 +22,7 @@ services:env_file: .envnetworks:- ragflow- restart: on-failure+ restart: unless-stopped# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.extra_hosts:@@ -39,7 +39,7 @@ services:# entrypoint: "/ragflow/entrypoint_task_executor.sh 1 3"# networks:# - ragflow- # restart: on-failure+ # restart: unless-stopped# # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.# extra_hosts:diff --git a/docker/docker-compose.yml b/docker/docker-compose.ymlindex ce9823a697..adb3375115 100644--- a/docker/docker-compose.yml+++ b/docker/docker-compose.yml@@ -45,7 +45,7 @@ services:env_file: .envnetworks:- ragflow- restart: on-failure+ restart: unless-stopped# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you use Docker Desktop, the --add-host flag is optional. This flag ensures that the host's internal IP is exposed to the Prometheus container.extra_hosts:@@ -94,7 +94,7 @@ services:env_file: .envnetworks:- ragflow- restart: on-failure+ restart: unless-stopped# https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# If you use Docker Desktop, the --add-host flag is optional. This flag ensures that the host's internal IP is exposed to the Prometheus container.extra_hosts:@@ -120,7 +120,7 @@ services:# entrypoint: "/ragflow/entrypoint_task_executor.sh 1 3"# networks:# - ragflow- # restart: on-failure+ # restart: unless-stopped# # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration# # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.# extra_hosts: