feat(deploy): add Docker build + Traefik-based production deployment

- Dockerfile: multi-stage pnpm monorepo build with Next.js standalone output
- .dockerignore: exclude node_modules, .next, .env, dev artifacts
- next.config.ts: enable `output: standalone` for slim runtime image
- compose.prod.yml: replace Caddy with Traefik labels, add migrate init
  service, split internal/external networks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-01 13:28:30 +02:00
parent 8b57a3fd87
commit fb4c624d40
4 changed files with 126 additions and 23 deletions
+1
View File
@@ -42,6 +42,7 @@ const securityHeaders = [
];
const nextConfig: NextConfig = {
output: "standalone",
async headers() {
return [
{