mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-05 02:17:23 -04:00
docs: add port configuration troubleshooting
- Document port conflict resolution in TESTING_GUIDE.md - Add example for custom API_PORT in .env.example - Explain container vs host port architecture - Provide solutions for common port conflict scenarios
This commit is contained in:
@@ -25,9 +25,10 @@ TRADE_HTTP_PORT=8002
|
||||
GETPRICE_HTTP_PORT=8003
|
||||
|
||||
# API Server Port (exposed on host machine for REST API)
|
||||
# Container ALWAYS uses port 8080 internally (hardcoded in entrypoint-api.sh)
|
||||
# This variable ONLY controls the host port mapping (host:8080 -> container:8080)
|
||||
# Container ALWAYS uses port 8080 internally (hardcoded in entrypoint.sh)
|
||||
# This variable ONLY controls the host port mapping (host:API_PORT -> container:8080)
|
||||
# Change this if port 8080 is already in use on your host machine
|
||||
# Example: API_PORT=8889 if port 8080 is occupied by another service
|
||||
# Used for Windmill integration and external API access
|
||||
API_PORT=8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user