import { CodeBlock } from "../components/CodeBlock"; import { Callout } from "../components/Callout"; export function DockerPage() { return (

Docker Compose Deployment

For small to medium deployments (single server, staging), Docker Compose is the recommended approach. The production configuration uses the same services as local development with hardened settings.

Production Configuration

Ensure you have set: server.env=production, a strong crypto.key, TLS certificates for all services, PostgreSQL with TLS, and proper secrets management (HashiCorp Vault recommended).

Building the Production Image

Health Checks

Database Backup

backup-$(date +%Y%m%d).sql.gz # Restore gunzip -c backup-20260115.sql.gz | psql -h postgres -U veylant -d veylant`} />
); }