Commit Graph

3 Commits

Author SHA1 Message Date
Arnaud 163e1c6137 Add Portainer stack.env support for environment variable management
- Add docker/stack.env template for Portainer deployment
- Update Dockerfile to accept build args for Next.js environment variables
- Update docker-compose.deploy.yml to pass build args from environment
- Add comprehensive Portainer deployment guide in DOCKER_DEPLOYMENT.md
- Document environment variable setup for both CLI and Portainer deployments
2026-07-01 11:25:42 +02:00
Arnaud 9e7b83a12c Fix Docker build issues
- Add git to build dependencies (required by some npm packages)
- Add build-time environment variables (NEXT_PUBLIC_VAPID_PUBLIC_KEY, BETTER_AUTH_SECRET, BETTER_AUTH_URL)
- Add error output capture (2>&1) to expose build errors
- Ensure all dependencies are available during build phase
2026-07-01 11:22:07 +02:00
Arnaud b2ac623836 Add production Docker deployment configuration
- Add multi-stage Dockerfile for Next.js standalone build
- Add docker-compose.deploy.yml for production deployment
- Add entrypoint.sh for database migration and startup
- Add .dockerignore for efficient Docker builds
- Add docker/.env.production with all required env vars
- Add Caddyfile.prod with security headers and optimizations
- Update next.config.ts with output: standalone for Docker
- Add DOCKER_DEPLOYMENT.md with comprehensive deployment guide
2026-07-01 11:13:30 +02:00