2026-01-25 09:35:06 -08:00
|
|
|
---
|
|
|
|
|
# Caddy reverse proxy configuration
|
|
|
|
|
# Caddy is built manually from ~/code/3rd/caddy with the Gandi DNS plugin
|
|
|
|
|
|
|
|
|
|
caddy_repo_dir: /Users/erichblume/code/3rd/caddy
|
|
|
|
|
caddy_binary: "{{ caddy_repo_dir }}/bin/caddy"
|
|
|
|
|
caddy_config_dir: /Users/erichblume/.config/caddy
|
|
|
|
|
caddy_data_dir: /Users/erichblume/.local/share/caddy
|
|
|
|
|
caddy_log_dir: /Users/erichblume/Library/Logs
|
|
|
|
|
|
|
|
|
|
# Gandi API token file (written by ansible, chmod 0600)
|
|
|
|
|
# Caddy reads this file for ACME DNS-01 challenges
|
|
|
|
|
caddy_gandi_token_file: /Users/erichblume/.config/caddy/gandi-token
|
|
|
|
|
|
|
|
|
|
# Domain configuration
|
|
|
|
|
caddy_domain: ops.eblu.me
|
|
|
|
|
|
2026-01-25 11:37:23 -08:00
|
|
|
# HTTPS port (443 is standard)
|
|
|
|
|
caddy_https_port: 443
|
2026-01-25 09:35:06 -08:00
|
|
|
|
|
|
|
|
# Services to proxy
|
|
|
|
|
# Format: { name: "service", host: "hostname", backend: "url" }
|
|
|
|
|
caddy_services:
|
|
|
|
|
# Indri-local services
|
|
|
|
|
- name: forge
|
|
|
|
|
host: "forge.{{ caddy_domain }}"
|
|
|
|
|
backend: "http://localhost:3001"
|
|
|
|
|
- name: registry
|
|
|
|
|
host: "registry.{{ caddy_domain }}"
|
|
|
|
|
backend: "http://localhost:5050"
|
|
|
|
|
|
|
|
|
|
# K8s services (via minikube NodePort or ClusterIP)
|
|
|
|
|
# These will be configured once we determine the correct backend URLs
|
|
|
|
|
# - name: grafana
|
|
|
|
|
# host: "grafana.{{ caddy_domain }}"
|
|
|
|
|
# backend: "http://minikube-ip:nodeport"
|
2026-01-25 11:37:23 -08:00
|
|
|
|
|
|
|
|
# SSH services (Layer 4 TCP proxy)
|
|
|
|
|
# Format: { port: external_port, backend: "host:port" }
|
|
|
|
|
caddy_ssh_services:
|
|
|
|
|
- port: 2222
|
|
|
|
|
backend: "localhost:2200" # Forgejo SSH
|