mirror_match/docs/DEPLOY_PROXMOX.md

31 lines
845 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Deploying to Proxmox (MVP)
This doc assumes youll 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.