bunker-admin 99a6abab06 Add video card insert feature + MkDocs video hydration + fixes
- New video card block for GrapesJS landing pages, email templates,
  MkDocs export, and documentation editor Insert dropdown
- Shared HTML generators in admin/src/utils/videoCardHtml.ts
- MkDocs video-player.js hydrates .video-card-block elements:
  thumbnail fix via MEDIA_API_URL, click-to-play inline, Gallery link
- Media API CORS: auto-add MkDocs + docs subdomain origins
- env_config_hook.py: smart Docker hostname detection, ADMIN_PORT
  resolution, pass env vars to MkDocs container
- Gallery URL uses /gallery?expanded=ID format
- VideoPickerModal: fix double /api prefix and Docker hostname thumbs
- Seed: default-video-card PageBlock
- Remove V1 legacy code (influence/, map/)

Bunker Admin
2026-02-17 15:42:32 -07:00

351 lines
9.6 KiB
YAML
Executable File

---
# Homepage Services Configuration — V2
# Tab 1: Production URLs (external via Pangolin tunnel)
# Tab 2: Local Development URLs (localhost with mapped ports)
#####################################
# PRODUCTION - External URLs
#####################################
- Production - Application:
- Admin GUI:
icon: mdi-view-dashboard
href: "https://app.cmlite.org"
description: Admin dashboard & public pages
container: changemaker-v2-admin
- Express API:
icon: mdi-api
href: "https://api.cmlite.org/api/health"
description: Main V2 API (Prisma + PostgreSQL)
container: changemaker-v2-api
- Media API:
icon: mdi-movie-open
href: "https://media.cmlite.org/health"
description: Video library API (Fastify + Prisma)
container: changemaker-media-api
- NocoDB:
icon: mdi-database
href: "https://db.cmlite.org"
description: Read-only data browser
container: changemaker-v2-nocodb
- Production - Content & Docs:
- Main Site:
icon: mdi-web
href: "https://cmlite.org"
description: Documentation & marketing site (MkDocs)
container: mkdocs-site-server-changemaker
- MkDocs (Live):
icon: mdi-book-open-page-variant
href: "https://docs.cmlite.org"
description: Live documentation with hot reload
container: mkdocs-changemaker
- Code Server:
icon: mdi-code-braces
href: "https://code.cmlite.org"
description: VS Code in the browser
container: code-server-changemaker
- Mini QR:
icon: mdi-qrcode
href: "https://qr.cmlite.org"
description: QR code generator
container: mini-qr
- Excalidraw:
icon: mdi-draw
href: "https://draw.cmlite.org"
description: Collaborative whiteboard
container: excalidraw-changemaker
- Production - Automation & Services:
- Listmonk:
icon: mdi-email-newsletter
href: "https://listmonk.cmlite.org"
description: Newsletter & mailing list manager
container: listmonk-app
- n8n:
icon: mdi-robot-industrial
href: "https://n8n.cmlite.org"
description: Workflow automation platform
container: n8n-changemaker
- Gitea:
icon: mdi-git
href: "https://git.cmlite.org"
description: Git repository hosting
container: gitea-changemaker
- MailHog:
icon: mdi-email-check
href: "https://mail.cmlite.org"
description: Dev email capture (test mode)
container: mailhog-changemaker
- Production - Infrastructure:
- Nginx:
icon: mdi-server-network
href: "#"
description: Reverse proxy & subdomain routing
container: changemaker-v2-nginx
- PostgreSQL (V2):
icon: mdi-database-outline
href: "#"
description: Main application database
container: changemaker-v2-postgres
- PostgreSQL (Listmonk):
icon: mdi-database-outline
href: "#"
description: Database for Listmonk
container: listmonk-db
- MySQL (Gitea):
icon: mdi-database-outline
href: "#"
description: Database for Gitea
container: gitea-mysql
- Redis:
icon: mdi-database-sync
href: "#"
description: Cache, rate limiting & BullMQ
container: redis-changemaker
- Newt:
icon: mdi-tunnel
href: "#"
description: Pangolin tunnel connector
container: newt-changemaker
- Production - Monitoring:
- Grafana:
icon: mdi-chart-box
href: "https://grafana.cmlite.org"
description: Monitoring dashboards & visualizations
container: grafana-changemaker
- Prometheus:
icon: mdi-chart-line
href: "#"
description: Metrics collection & time-series database
container: prometheus-changemaker
- Alertmanager:
icon: mdi-bell-alert
href: "#"
description: Alert routing & notification management
container: alertmanager-changemaker
- Gotify:
icon: mdi-cellphone-message
href: "#"
description: Self-hosted push notifications
container: gotify-changemaker
- cAdvisor:
icon: mdi-docker
href: "#"
description: Container resource metrics
container: cadvisor-changemaker
- Node Exporter:
icon: mdi-server
href: "#"
description: System-level metrics exporter
container: node-exporter-changemaker
- Redis Exporter:
icon: mdi-database-export
href: "#"
description: Redis metrics exporter
container: redis-exporter-changemaker
#####################################
# LOCAL DEVELOPMENT - Localhost URLs
#####################################
- Local - Application:
- Admin GUI:
icon: mdi-view-dashboard
href: "http://localhost:3000"
description: Admin dashboard & public pages (port 3000)
container: changemaker-v2-admin
- Express API:
icon: mdi-api
href: "http://localhost:4000/api/health"
description: Main V2 API (port 4000)
container: changemaker-v2-api
- Media API:
icon: mdi-movie-open
href: "http://localhost:4100/health"
description: Video library API (port 4100)
container: changemaker-media-api
- NocoDB:
icon: mdi-database
href: "http://localhost:8091"
description: Read-only data browser (port 8091)
container: changemaker-v2-nocodb
- Homepage:
icon: mdi-home
href: "http://localhost:3010"
description: This dashboard (port 3010)
container: homepage-changemaker
- Local - Content & Docs:
- Main Site:
icon: mdi-web
href: "http://localhost:4004"
description: Documentation site (port 4004)
container: mkdocs-site-server-changemaker
- MkDocs (Live):
icon: mdi-book-open-page-variant
href: "http://localhost:4003"
description: Live documentation with hot reload (port 4003)
container: mkdocs-changemaker
- Code Server:
icon: mdi-code-braces
href: "http://localhost:8888"
description: VS Code in the browser (port 8888)
container: code-server-changemaker
- Mini QR:
icon: mdi-qrcode
href: "http://localhost:8089"
description: QR code generator (port 8089)
container: mini-qr
- Excalidraw:
icon: mdi-draw
href: "http://localhost:8090"
description: Collaborative whiteboard (port 8090)
container: excalidraw-changemaker
- Local - Automation & Services:
- Listmonk:
icon: mdi-email-newsletter
href: "http://localhost:9001"
description: Newsletter & mailing list manager (port 9001)
container: listmonk-app
- n8n:
icon: mdi-robot-industrial
href: "http://localhost:5678"
description: Workflow automation platform (port 5678)
container: n8n-changemaker
- Gitea:
icon: mdi-git
href: "http://localhost:3030"
description: Git repository hosting (port 3030)
container: gitea-changemaker
- MailHog:
icon: mdi-email-check
href: "http://localhost:8025"
description: Dev email capture (port 8025)
container: mailhog-changemaker
- Local - Infrastructure:
- Nginx:
icon: mdi-server-network
href: "http://localhost:80"
description: Reverse proxy & subdomain routing (port 80)
container: changemaker-v2-nginx
- PostgreSQL (V2):
icon: mdi-database-outline
href: "#"
description: Main application database (port 5433)
container: changemaker-v2-postgres
- PostgreSQL (Listmonk):
icon: mdi-database-outline
href: "#"
description: Database for Listmonk (port 5432)
container: listmonk-db
- MySQL (Gitea):
icon: mdi-database-outline
href: "#"
description: Database for Gitea (internal)
container: gitea-mysql
- Redis:
icon: mdi-database-sync
href: "#"
description: Cache, rate limiting & BullMQ (port 6379)
container: redis-changemaker
- Newt:
icon: mdi-tunnel
href: "#"
description: Pangolin tunnel connector
container: newt-changemaker
- Local - Monitoring:
- Grafana:
icon: mdi-chart-box
href: "http://localhost:3001"
description: Monitoring dashboards (port 3001)
container: grafana-changemaker
- Prometheus:
icon: mdi-chart-line
href: "http://localhost:9090"
description: Metrics collection (port 9090)
container: prometheus-changemaker
- Alertmanager:
icon: mdi-bell-alert
href: "http://localhost:9093"
description: Alert routing (port 9093)
container: alertmanager-changemaker
- Gotify:
icon: mdi-cellphone-message
href: "http://localhost:8889"
description: Push notifications (port 8889)
container: gotify-changemaker
- cAdvisor:
icon: mdi-docker
href: "http://localhost:8080"
description: Container resource metrics (port 8080)
container: cadvisor-changemaker
- Node Exporter:
icon: mdi-server
href: "http://localhost:9100/metrics"
description: System-level metrics (port 9100)
container: node-exporter-changemaker
- Redis Exporter:
icon: mdi-database-export
href: "http://localhost:9121/metrics"
description: Redis metrics (port 9121)
container: redis-exporter-changemaker