Merge pull request #463 from octo-patch/fix/issue-352-configurable-backend-url
fix: make REACT_APP_BACKEND_URL configurable for remote deployments
This commit is contained in:
@@ -4,6 +4,9 @@ WORK_DIR="/Users/username/Documents/workspace_with_my_files"
|
|||||||
OLLAMA_PORT="11434"
|
OLLAMA_PORT="11434"
|
||||||
LM_STUDIO_PORT="1234"
|
LM_STUDIO_PORT="1234"
|
||||||
BACKEND_PORT="7777"
|
BACKEND_PORT="7777"
|
||||||
|
# Set this to your server's public IP/hostname when accessing the UI from a remote machine.
|
||||||
|
# Example: REACT_APP_BACKEND_URL=http://192.168.1.100:7777
|
||||||
|
REACT_APP_BACKEND_URL=http://localhost:7777
|
||||||
CUSTOM_ADDITIONAL_LLM_PORT="11435"
|
CUSTOM_ADDITIONAL_LLM_PORT="11435"
|
||||||
OPENAI_API_KEY='xxxxx'
|
OPENAI_API_KEY='xxxxx'
|
||||||
DEEPSEEK_API_KEY='xxxxx'
|
DEEPSEEK_API_KEY='xxxxx'
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
- CHOKIDAR_USEPOLLING=true
|
- CHOKIDAR_USEPOLLING=true
|
||||||
- REACT_APP_BACKEND_URL=http://localhost:7777
|
- REACT_APP_BACKEND_URL=${REACT_APP_BACKEND_URL:-http://localhost:7777}
|
||||||
networks:
|
networks:
|
||||||
- agentic-seek-net
|
- agentic-seek-net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user