mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-11-07 21:33:53 +00: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:
parent
e60ec0a31b
commit
441fb92aa7
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user