dev #60

Merged
sbcrumb merged 42 commits from dev into main 2025-10-22 21:27:04 -04:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 9b03fb50ea - Show all commits
+6 -1
View File
@@ -1872,10 +1872,15 @@ def register_routes(app, dependencies: dict):
@app.get("/")
async def _core_info():
"""Core container API information - Web interface on separate container"""
import os
# Get configured web port from environment or config
web_port = os.environ.get("WEB_EXTERNAL_PORT",
getattr(dependencies.get("config", None), "web_api_port", "8081"))
return {
"service": "NFOGuard Core Processing Engine",
"version": "2.7.0",
"message": "Web interface available on separate container (port 8081)",
"message": f"Web interface available on separate container (port {web_port})",
"api_endpoints": {
"health": "/health",
"webhooks": "/webhook/*",
+1
View File
@@ -45,6 +45,7 @@ services:
- TZ=${TZ:-America/New_York}
- CORE_API_HOST=0.0.0.0
- CORE_API_PORT=8080
- WEB_EXTERNAL_PORT=${WEB_API_PORT:-8081} # External port where web interface is accessible
volumes:
# Media paths (adjust to your setup)
- /mnt/unionfs/Media/TV:/media/TV:ro