Skip to content

Production deployment

Before deploying Goiabada to production, choose your deployment method based on your infrastructure.

Method SSL management Complexity Best for
Cloudflare Tunnel Cloudflare handles it ⭐ Easiest Most users
Cloudflare + Nginx Cloudflare + local certs ⭐⭐ Medium Existing Nginx servers
Reverse proxy Let’s Encrypt ⭐⭐ Medium Non-Cloudflare users
Kubernetes cert-manager ⭐⭐⭐ Advanced Kubernetes environments
Native binaries Manual ⭐⭐⭐ Advanced No-Docker environments

The setup wizard can generate production-ready configurations:

Terminal window
./goiabada-setup-linux-amd64

Choose the deployment type that matches your setup:

Option Use case Output
2. Production with reverse proxy Docker with Nginx/Cloudflare docker-compose.yml
3. Kubernetes cluster Kubernetes deployment goiabada-k8s.yaml
4. Native binaries Running without Docker goiabada.env

The wizard will ask for your domain names, generate all credentials (session keys, OAuth secrets), and create the appropriate configuration file.

You still need to set up SSL termination using one of the methods above (except for Kubernetes, where the wizard configures cert-manager).