mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
feat: add environment variable injection for Docker sandbox
- Add environment field to sandbox config for injecting env vars into container - Support $VAR syntax to resolve values from host environment variables - Refactor frontend API modules to use centralized getBackendBaseURL() - Improve Doraemon skill with explicit input/output path arguments - Add .env.example file Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -147,6 +147,14 @@ sandbox:
|
||||
# # - host_path: /path/on/host
|
||||
# # container_path: /home/user/shared
|
||||
# # read_only: false
|
||||
#
|
||||
# # Optional: Environment variables to inject into the sandbox container
|
||||
# # Values starting with $ will be resolved from host environment variables
|
||||
# # environment:
|
||||
# # NODE_ENV: production
|
||||
# # DEBUG: "false"
|
||||
# # API_KEY: $MY_API_KEY # Reads from host's MY_API_KEY env var
|
||||
# # DATABASE_URL: $DATABASE_URL # Reads from host's DATABASE_URL env var
|
||||
|
||||
# ============================================================================
|
||||
# Skills Configuration
|
||||
|
||||
Reference in New Issue
Block a user