mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-28 22:26:36 +08:00
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:
@ -38,8 +38,8 @@ services:
|
||||
env_file: .env
|
||||
environment:
|
||||
- TZ=${TIMEZONE}
|
||||
- HF_ENDPOINT=${HF_ENDPOINT}
|
||||
- MACOS=${MACOS}
|
||||
- HF_ENDPOINT=${HF_ENDPOINT-}
|
||||
- MACOS=${MACOS-}
|
||||
networks:
|
||||
- ragflow
|
||||
restart: on-failure
|
||||
|
||||
Reference in New Issue
Block a user