mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-22 13:44:46 +08:00
docs: clarify .env configuration for Docker Compose deployment (#858)
- Expand Docker Compose section in README.md and README_zh.md with: - Explicit note that only root .env is used (not web/.env) - Instructions to update NEXT_PUBLIC_API_URL for remote/LAN deployment - Explanation that NEXT_PUBLIC_API_URL is a build-time variable - Improve NEXT_PUBLIC_API_URL comments in root .env.example Closes #527
This commit is contained in:
@@ -4,7 +4,13 @@
|
||||
DEBUG=True
|
||||
APP_ENV=development
|
||||
|
||||
# docker build args
|
||||
# Frontend API URL (used as Docker build arg for Next.js)
|
||||
# This is a BUILD-TIME variable: it gets embedded into the frontend JS bundle during build.
|
||||
# Default works for local development (localhost). For remote/LAN deployment, change to your host IP or domain:
|
||||
# NEXT_PUBLIC_API_URL=http://192.168.1.100:8000/api
|
||||
# NEXT_PUBLIC_API_URL=https://your-domain.com/api
|
||||
# Note: When using docker-compose, only this root .env is used (not web/.env).
|
||||
# If you change this value after building, you must rebuild: docker compose build
|
||||
NEXT_PUBLIC_API_URL="http://localhost:8000/api"
|
||||
|
||||
AGENT_RECURSION_LIMIT=30
|
||||
|
||||
Reference in New Issue
Block a user