- 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
71 lines
1.6 KiB
YAML
71 lines
1.6 KiB
YAML
# Cloudflare Tunnel Configuration for Proxmox Site 1 (US-East)
|
|
# This tunnel connects Proxmox cluster to Cloudflare
|
|
|
|
tunnel: proxmox-site-1-tunnel
|
|
credentials-file: /etc/cloudflared/proxmox-site-1-tunnel.json
|
|
|
|
ingress:
|
|
# Proxmox Web UI
|
|
- hostname: pve1.yourdomain.com
|
|
service: https://pve1.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve1.local:8006
|
|
|
|
# Proxmox API
|
|
- hostname: pve1-api.yourdomain.com
|
|
service: https://pve1.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve1.local:8006
|
|
|
|
# Proxmox Node 2
|
|
- hostname: pve2.yourdomain.com
|
|
service: https://pve2.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve2.local:8006
|
|
|
|
# Proxmox Node 3
|
|
- hostname: pve3.yourdomain.com
|
|
service: https://pve3.local:8006
|
|
originRequest:
|
|
noHappyEyeballs: true
|
|
connectTimeout: 30s
|
|
tls:
|
|
skipVerify: true
|
|
httpHostHeader: pve3.local:8006
|
|
|
|
# Prometheus Exporter
|
|
- hostname: pve1-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-1-tunnel.log
|
|
|
|
# Metrics
|
|
metrics: 0.0.0.0:9091
|
|
|
|
# Health check
|
|
health-probe:
|
|
enabled: true
|
|
path: /health
|
|
port: 8080
|
|
|