Fix: suppress docker-compose warning (#8698)

### What problem does this PR solve?

Suppress docker-compose warning like:

```bash
The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
The "MACOS" variable is not set. Defaulting to a blank string.
The "SANDBOX_EXECUTOR_MANAGER_IMAGE variable is not set. Defaulting to a blank string.
The "SANDBOX_EXECUTOR_MANAGER_PORT variable is not set. Defaulting to a blank string.
```

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Refactoring
This commit is contained in:
Yongteng Lei 2025-07-07 14:50:23 +08:00 committed by GitHub
parent e60ec0a31b
commit 441fb92aa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -107,10 +107,10 @@ services:
container_name: ragflow-sandbox-executor-manager container_name: ragflow-sandbox-executor-manager
profiles: profiles:
- sandbox - sandbox
image: ${SANDBOX_EXECUTOR_MANAGER_IMAGE} image: ${SANDBOX_EXECUTOR_MANAGER_IMAGE-infiniflow/sandbox-executor-manager:latest}
privileged: true privileged: true
ports: ports:
- ${SANDBOX_EXECUTOR_MANAGER_PORT}:9385 - ${SANDBOX_EXECUTOR_MANAGER_PORT-9385}:9385
env_file: .env env_file: .env
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock

View File

@ -38,8 +38,8 @@ services:
env_file: .env env_file: .env
environment: environment:
- TZ=${TIMEZONE} - TZ=${TIMEZONE}
- HF_ENDPOINT=${HF_ENDPOINT} - HF_ENDPOINT=${HF_ENDPOINT-}
- MACOS=${MACOS} - MACOS=${MACOS-}
networks: networks:
- ragflow - ragflow
restart: on-failure restart: on-failure