Self-Hosted & PaaS
Gothic apps are just Go binaries — you can deploy them to any platform that runs Docker containers or Go binaries directly. Here are guides for popular platforms.
Fly.io
Fly.io runs containers on a global edge network. Install the flyctl CLI and launch your app:
# Initialize and deploy
fly launch
# Set Redis connection string
fly secrets set REDIS_URL=your-redis-host:6379
# Deploy updates
fly deployFly.io will detect your Dockerfile and deploy automatically. You can also provision Upstash Redis directly through Fly.
Railway
Railway offers one-click deployments with built-in database plugins. Install the Railway CLI:
# Initialize project
railway init
# Add a Redis plugin
railway add --plugin redis
# Deploy
railway upRailway automatically injects the REDIS_URL environment variable from the Redis plugin into your app. No manual configuration needed.
Generic VPS
For any VPS (AWS EC2, Hetzner, Linode, etc.), SSH into your server and deploy with Docker Compose:
# SSH into your server
ssh user@your-server
# Clone and deploy
git clone https://github.com/your-org/your-repo.git
cd your-repo
docker compose up -dFor HTTPS, put Caddy or Nginx in front of your app as a reverse proxy. Caddy provides automatic HTTPS with zero configuration via Let's Encrypt.
Coming from a v2 project? Here's how to migrate it to v3 in one command!
