Fix UniFi OS authentication and simplify server architecture
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
- Use /api/auth/login for UniFi OS controllers (UDM, Cloud Gateway) - Use /api/login for standalone controllers - Refactor to use FastMCP's native mcp.run() with custom_route for /health - Switch to network_mode: host for local network access - Include README.md in Dockerfile for hatchling build
This commit is contained in:
@@ -4,8 +4,7 @@ services:
|
||||
image: gitea.ext.ben.io/b3nw/unifi-mcp-light:latest
|
||||
container_name: unifi-mcp-light
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${PORT:-8100}:8000"
|
||||
network_mode: host
|
||||
environment:
|
||||
- UNIFI_HOST=${UNIFI_HOST}
|
||||
- UNIFI_USERNAME=${UNIFI_USERNAME}
|
||||
|
||||
Reference in New Issue
Block a user