Server Setup
This guide covers setting up a new server for the DineTogether infrastructure.
Server Requirements
Minimum Specifications
- CPU: 2 vCPUs
- RAM: 4GB
- Storage: 40GB SSD
- OS: Ubuntu 22.04 LTS
- Network: Public IPv4 address
Recommended Specifications
- CPU: 4 vCPUs
- RAM: 8GB
- Storage: 100GB SSD
- Provider: Hetzner, DigitalOcean, or AWS
Initial Server Setup
1. Connect to Server
2. Update System
3. Install K3s
4. Verify Installation
Configure Ingress
K3s comes with Traefik pre-installed. Verify:
Install cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.3/cert-manager.yaml
Create Namespaces
Next Steps
- Configure DNS pointing to your server
- Add server to GitHub Secrets
- Deploy your first application