- Remove problematic Caddyfile volume mount that fails in Portainer
- Use Caddy's command-line reverse proxy mode instead
- This avoids file mounting issues while providing same functionality
- Caddy will auto-handle HTTPS/Let's Encrypt for the specified domain
- Simpler, more portable configuration for containerized deployments
Change build context from '.' to '..' to correctly reference Dockerfile at repo root when compose file is in docker/ directory. This fixes Portainer deployment errors.
- 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