# Deploying to Proxmox (MVP) This doc assumes you’ll run MirrorMatch as Docker containers on a Proxmox VM or LXC. ## Recommended layout - **Postgres**: Docker container + persistent volume - **MinIO**: Docker container + persistent volume - **MirrorMatch web**: Docker container behind your reverse proxy (Caddy / Nginx / Traefik) ## Environment Set these in your production environment (do not commit them): - `DATABASE_URL` - `AUTH_SECRET` - `AUTH_URL` (your public URL, e.g. `https://mirrormatch.yourdomain.com`) - SMTP env vars (`EMAIL_SERVER_*`, `EMAIL_FROM`) - S3 env vars (`S3_*`) ## Reverse proxy notes - Ensure `AUTH_URL` matches the external URL exactly (scheme + host). - Forward `X-Forwarded-Proto` and `X-Forwarded-Host`. ## Images MinIO bucket is private. The app should generate presigned URLs for authorized users.