fix: resolve web UI service port configuration mismatch
✅ Fixed Web UI Service Port Configuration - Updated aitbc-web-ui.service to actually use port 8016 - Fixed Environment=PORT from 8007 to 8016 - Fixed ExecStart from 8007 to 8016 - Service now running on claimed port 8016 - Port 8007 properly released ✅ Configuration Changes - Before: Claimed port 8016, ran on port 8007 - After: Claims port 8016, runs on port 8016 - Service description now matches actual execution - Port mapping is now consistent ✅ Verification - Web UI service active and running on port 8016 - Port 8016 responding with HTML interface - Port 8007 no longer in use - All other services unchanged 🚀 Web UI service configuration is now consistent and correct!
This commit is contained in:
@@ -11,10 +11,10 @@ Group=aitbc
|
|||||||
WorkingDirectory=/opt/aitbc/apps/blockchain-explorer
|
WorkingDirectory=/opt/aitbc/apps/blockchain-explorer
|
||||||
Environment=PATH=/opt/aitbc/venv/bin:/usr/bin
|
Environment=PATH=/opt/aitbc/venv/bin:/usr/bin
|
||||||
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-explorer
|
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-explorer
|
||||||
Environment=PORT=8007
|
Environment=PORT=8016
|
||||||
Environment=SERVICE_TYPE=web-ui
|
Environment=SERVICE_TYPE=web-ui
|
||||||
Environment=LOG_LEVEL=INFO
|
Environment=LOG_LEVEL=INFO
|
||||||
ExecStart=/opt/aitbc/venv/bin/python -m http.server 8007 --bind 127.0.0.1
|
ExecStart=/opt/aitbc/venv/bin/python -m http.server 8016 --bind 127.0.0.1
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|||||||
Reference in New Issue
Block a user