Commit Graph

15 Commits

Author SHA1 Message Date
aca34942b7 Consolidate into version.txt for deployment and frontent 2026-01-17 10:58:24 +01:00
e7036da5a6 Update healthcheck, nginx caching, and frontend version
- Replace healthcheck test with curl in deploy.sh
- Add backend as a dependency for the frontend service
- Bump frontend version to 1.1.1
- Remove frontend/public/test.html
- Update nginx caching: separate hashed CSS/JS and non-hashed assets
2026-01-16 16:36:27 +01:00
b0e52a778f Add rate limiting and extend JWT expiry
- Wire in Fastify rate-limit (backend) and add dependency
- Update JWT expiresIn to 24h in config
- Remove legacy auth middleware
- Add healthcheck to deployment (deploy.sh)
- Minor frontend tweaks: include average time per round in logs
- Remove Dashboard link from dashboard.html
2026-01-16 09:53:35 +01:00
eb29fc543b Limit builds to AMD64 and bump to 1.0.16 2026-01-15 12:05:28 +01:00
40aaa46e52 Add x-cloak to modals and CSS, minor deploy tweaks 2026-01-15 11:41:51 +01:00
4aef139135 Bump frontend VERSION to 1.0.9 Bump frontend VERSION to 1.0.9
- Update frontend/VERSION from 1.0.8 to 1.0.9 and add
  frontend/public/version.txt
- Write new version to frontend/public/version.txt during deploy
- Serve version.txt via nginx with caching (location /version.txt)
- Dockerfile.prod updated to copy public assets (incl. version.txt) to
  nginx
- Extend static asset rules to include txt files for caching
- Inject a version footer into public HTML pages and load version.txt on
  load
- Load Tailwind CSS via CDN on public pages and remove CSS stylesheet
  link tag
2026-01-15 11:05:30 +01:00
6e45db55ea Add frontend version management and display 2026-01-15 10:43:56 +01:00
8575539a08 Use permanent frontend Dockerfile and drop CDN 2026-01-15 10:41:16 +01:00
2c641296d2 Update frontend ports to 38080 and 30443 to avoid conflicts with other containers
- Changed frontend HTTP port from 80 to 38080
- Changed frontend HTTPS port from 443 to 30443
- Updated deploy.sh to generate docker-compose with new ports
- Updated QUICK_FIX.md with port configuration details
- Updated QUICK_DEPLOY.md with port information and verification steps
2026-01-15 10:04:07 +01:00
c4f599835a Fix Docker deployment issues: nginx resolver for backend hostname, improved volume permissions, init-db service improvements
- Fix frontend nginx config: Use resolver directive to dynamically resolve 'backend' hostname instead of resolving at startup
- Remove SSL/HTTPS enforcing from nginx - HTTP works without certs, SSL can be added later with Traefik
- Simplify nginx config: Remove duplicate location blocks, consolidate to single HTTP server
- Improve init-db service: Change permissions from 755 to 777 for full container write access
- Add init-db restart policy: Set to 'no' so service exits after initialization
- Create QUICK_FIX.md: Step-by-step guide to fix current deployment issues on server
- Create server-init.sh: Pre-deployment script to prepare Docker host for EDH Stats
2026-01-15 10:03:16 +01:00
89df3ed9e3 Add init-db service and update deployment docs 2026-01-15 10:02:13 +01:00
a7e1826140 Enable multi-arch Docker builds with buildx
Implement multi-architecture builds in deploy.sh via docker buildx
Auto-create a multiarch builder if buildx is missing Build and push
images for linux/amd64 and linux/arm64 Update messaging to reflect
multi-arch pushes
2026-01-15 09:51:26 +01:00
36a26f55c2 Stop deleting temporary frontend Dockerfile.prod
Treat Dockerfile.prod as permanent and remove its deletion from
cleanup_temp_files; always report no temporary files
2026-01-15 09:31:32 +01:00
3c20e4fded Migrate to Env Secret and Add Frontend Dockerfile 2026-01-15 09:27:45 +01:00
fc85985317 Add deployment tooling and GHCR publish workflow 2026-01-15 09:22:22 +01:00