Commit Graph

8 Commits

Author SHA1 Message Date
f3d1365588 fix: Separate internal and external server URLs for SSL compatibility
All checks were successful
build-and-deploy / filter (push) Successful in 1s
build-and-deploy / build (push) Successful in 11s
build-and-deploy / deploy (push) Successful in 10s
- Add PUBLIC_SERVER_URL environment variable for client-side connections
- Update /api/config endpoints to return public HTTPS URLs for frontend
- Keep internal HTTP URLs for server-to-server communication
- Resolves SSL certificate verification issues in admin service
- Maintains secure WSS/HTTPS connections for clients
2025-07-05 16:43:29 -06:00
660bc3455e config: Update server URLs to use HTTPS for secure connections
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 9s
build-and-deploy / deploy (push) Successful in 10s
- Change SERVER_URL from http:// to https:// in docker-compose
- Add WebSocket URL conversion logic (https:// → wss://, http:// → ws://)
- Resolves Mixed Content security error when client is served over HTTPS
- Ensures secure communication between client and server
2025-07-05 16:20:33 -06:00
a38e83370c config: Add containers to 'principal' network for Nginx routing
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 10s
- All services now connect to both 'principal' (external) and 'snatchgame-network' (internal)
- Allows Nginx proxy manager to route to containers via principal network
- Maintains internal communication between services
2025-07-05 16:06:45 -06:00
e3d6195beb config: Update service URLs for Nginx proxy configuration
All checks were successful
build-and-deploy / deploy (push) Successful in 10s
build-and-deploy / filter (push) Successful in 1s
build-and-deploy / build (push) Successful in 5s
- Client and Admin now point to snatchGameServer.interno.com
- Ready for Nginx configuration with domain routing:
  - snatchGame.interno.com → Client (port 3010)
  - snatchGameServer.interno.com → Server (port 3067)
  - snatchgGameAdmin.interno.com → Admin (port 3011)
2025-07-05 15:57:47 -06:00
378febd8f3 fix: Correct environment variables and MIME types for production
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 12s
build-and-deploy / deploy (push) Successful in 9s
- Change VITE_SERVER_URL to SERVER_URL in docker-compose
- Add dist directory serving for built assets
- Configure Express to serve JS modules with correct MIME type
- Fix undefined Game Server in containers
2025-07-05 15:53:19 -06:00
a0044efb42 fix: Replace curl with wget in health checks and add wget to Dockerfiles
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 1m59s
build-and-deploy / deploy (push) Successful in 10s
- Alpine Linux doesn't include curl by default
- Use wget with --spider flag for health checks
- Add wget installation to all Dockerfiles
- This should resolve container health check failures
2025-07-05 15:43:27 -06:00
58ca3d1e73 fix: Change exposed ports to avoid conflicts
Some checks failed
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Failing after 1m44s
- Server: 2567 → 3067 (host:container)
- Client: 3000 → 3010 (host:container)
- Admin: 3001 → 3011 (host:container)
- Internal container ports remain the same
2025-07-05 15:17:18 -06:00
580099bf59 feat: Add Docker infrastructure and Gitea CI/CD pipeline
- Add Dockerfiles for server, client, and admin services
- Create docker-compose.yml for orchestration
- Add Gitea Actions workflow for automated build/deploy
- Configure conditional builds based on directory changes
- Use gitea.interno.com registry for image storage

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-05 14:19:19 -06:00