- Complete project structure with Next.js frontend - GraphQL API backend with Apollo Server - Portal application with NextAuth - Crossplane Proxmox provider - GitOps configurations - CI/CD pipelines - Testing infrastructure (Vitest, Jest, Go tests) - Error handling and monitoring - Security hardening - UI component library - Documentation
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
# Cloudflare Tunnel Configuration for Proxmox Site 3 (APAC)
|
|
# This tunnel connects Proxmox cluster to Cloudflare
|
|
|
|
tunnel: proxmox-site-3-tunnel
|
|
credentials-file: /etc/cloudflared/proxmox-site-3-tunnel.json
|
|
|
|
ingress:
|
|
# Proxmox Web UI
|
|
- hostname: pve7.yourdomain.com
|
|
service: https://pve7.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve7.local:8006
|
|
|
|
# Proxmox API
|
|
- hostname: pve7-api.yourdomain.com
|
|
service: https://pve7.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve7.local:8006
|
|
|
|
# Proxmox Node 2
|
|
- hostname: pve8.yourdomain.com
|
|
service: https://pve8.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve8.local:8006
|
|
|
|
# Prometheus Exporter
|
|
- hostname: pve7-metrics.yourdomain.com
|
|
service: http://localhost:9221
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
|
|
# Catch-all rule (must be last)
|
|
- service: http_status:404
|
|
|
|
# Logging
|
|
loglevel: info
|
|
logfile: /var/log/cloudflared/proxmox-site-3-tunnel.log
|
|
|
|
# Metrics
|
|
metrics: 0.0.0.0:9093
|
|
|
|
# Health check
|
|
health-probe:
|
|
enabled: true
|
|
path: /health
|
|
port: 8080
|
|
|