feat: unify docs portal and MCP servers into one config-driven service
- add config.yml as single source of truth for collected repos/categories - add collect.py CLI to pull lib/api/wiki site builds and mcp bundles from source repos and regenerate nginx.conf + _index/index.html - port mcp runtime (main.py/core.py/config.py): nginx + health + FastMCP servers started from config.yml - docker: python:3.13-slim + nginx, expose 8000-8006 + 9000 (html portal) - drone: publish html (6007:9000) and MCP ports 8000-8006 - move mongo-ops docs to wiki/, add auth-server (api) and hexa (lib) - refresh lib site builds (lib/ prefix) and collect mcp bundles
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -1,18 +1,14 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _; # default catch-all
|
||||
listen 9000;
|
||||
server_name _;
|
||||
|
||||
# Root for the main landing page
|
||||
root /usr/share/nginx/html;
|
||||
index index.html api/index.html;
|
||||
|
||||
# Serve the index page by default
|
||||
index index.html;
|
||||
|
||||
# Optional: serve static assets (CSS, JS, images)
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user