- Enhanced Caddyfile with consolidated HTTPS block supporting all access points - Added support for https://digiserver, https://10.76.152.164, and https://digiserver.sibiusb.harting.intra - Configured Caddy reverse proxy with HTTP/3 (QUIC), TLS 1.3+, and HTTP/2 support - Implemented security headers (X-Frame-Options, X-Content-Type-Options, X-XSS-Protection) - Added HTTP to HTTPS automatic redirects for all endpoints - Enhanced setup_https.sh with improved error handling and progress reporting - Created deploy.sh for fully automated one-command deployment - Added comprehensive deployment documentation (5 guides) - Configured 2GB file upload limit and 300s request/response timeouts - Added Caddy admin API on port 2019 for configuration management - Implemented health checks and container dependency management - All volumes persistent and properly isolated - Production-ready configuration with environment variable parameterization
2.4 KiB
2.4 KiB
🚀 DigiServer Deployment - Quick Reference Card
Instant Deployment
cd /path/to/digiserver-v2
./deploy.sh
That's it! ✅
📖 Documentation Files
| File | Purpose | Size |
|---|---|---|
| DEPLOYMENT_INDEX.md | Navigation guide | 8.1 KB |
| DEPLOYMENT_README.md | Complete guide | 9.4 KB |
| DOCKER_EXEC_COMMANDS.md | Command reference | 7.6 KB |
| DEPLOYMENT_COMMANDS.md | Detailed guide | 6.8 KB |
🔧 Executable Scripts
| Script | Purpose | Time |
|---|---|---|
| deploy.sh | Fully automated | 2-3 min |
| setup_https.sh | Semi-automated | 3-5 min |
🎯 Common Commands
Check Status
docker-compose ps
View Logs
docker-compose logs -f digiserver-app
Verify HTTPS Configuration
docker-compose exec -T digiserver-app python /app/https_manager.py status
Access the Application
https://digiserver.sibiusb.harting.intra
https://10.76.152.164
https://digiserver
Default Login
Username: admin
Password: admin123
🆘 Troubleshooting
| Issue | Solution |
|---|---|
| Containers won't start | docker-compose logs |
| Migration fails | Check DB connection, see docs |
| HTTPS errors | Clear Caddy cache: docker volume rm digiserver-v2_caddy-* |
| Port conflict | lsof -i :443 or change in docker-compose.yml |
See DEPLOYMENT_README.md#-troubleshooting for full guide.
🌍 Deploy on Different PC
- Copy project files
- Install Docker & Docker Compose
- Run
./deploy.sh
Done! 🎉
🔑 Customize Deployment
HOSTNAME=myserver \
DOMAIN=myserver.internal \
IP_ADDRESS=192.168.1.100 \
EMAIL=admin@example.com \
./deploy.sh
📚 Need More Help?
- First time? → DEPLOYMENT_README.md
- Need a command? → DOCKER_EXEC_COMMANDS.md
- Lost? → DEPLOYMENT_INDEX.md
- Troubleshooting? → DEPLOYMENT_README.md#-troubleshooting
✨ What You Get
✅ Web application with admin dashboard
✅ HTTPS with self-signed certificates
✅ User management system
✅ Player & content management
✅ Fully configured & ready to use
Ready to deploy? ./deploy.sh 🚀