App conventions
Hostnames
- •Default hostname convention:
<app>.nblotti.org - •DNS is externally managed.
Default ports
- •FastAPI/Uvicorn: 8000
- •Flask: 5000
- •Node/Next: 3000
- •nginx: 80
TLS
- •The cluster has cert-manager with a
letsencrypt-prodClusterIssuer. - •ALL web applications MUST use HTTPS via Ingress with TLS.
- •Always add annotation
cert-manager.io/cluster-issuer: letsencrypt-prodand atlssection.
Rule
- •Don't ask the user which port/host unless the code clearly contradicts these defaults.
- •If code differs, prefer code truth over defaults and report what you found.