Add Docker deployment setup with health check endpoint

- Add multi-stage Dockerfile with standalone Next.js output
- Add docker-compose.yml with Caddy reverse proxy
- Add nginx configs for local and SSL setups
- Add Caddyfile for automatic HTTPS
- Add docker-entrypoint.sh for runtime config
- Add .env.example and .dockerignore
- Add comprehensive Docker README
- Add /api/health endpoint for container health checks
- Configure next.config.ts for standalone output
This commit is contained in:
Christomatt
2026-01-31 03:53:19 +01:00
parent 50355b740a
commit df5b61f42a
12 changed files with 1090 additions and 1 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Empty turbopack config to silence the warning
// Enable standalone output for Docker deployment
// This creates a minimal server.js that doesn't require full node_modules
output: 'standalone',
// Turbopack configuration
turbopack: {},
};