Fix: Nakama chess modules, chat WebSocket protocol, and streaming SSL
Some checks failed
Build and Push / build-all (push) Failing after 1m50s

- Add Nakama Dockerfile to build custom image with chess modules
- Update docker-compose.prod.yml to use custom Nakama image with --runtime.js_entrypoint
- Fix chat WebSocket to use wss:// on HTTPS pages (was hardcoded ws://)
- Add SSL configuration to nginx port 8088 for HLS/LLHLS streaming
- Add Nakama build step to CI workflow

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
doomtube 2026-01-06 05:13:49 -05:00
parent 3155eacdac
commit e32e5aceaf
5 changed files with 68 additions and 6 deletions

View file

@ -104,3 +104,20 @@ jobs:
run: |
docker push ${{ env.REGISTRY }}/${{ github.repository }}/openresty:${{ github.sha }}
docker push ${{ env.REGISTRY }}/${{ github.repository }}/openresty:latest
# =========================================================================
# Build Nakama (Game Server with Chess Modules)
# =========================================================================
- name: Build Nakama Image
run: |
echo "=== Building Nakama ==="
docker build \
-t ${{ env.REGISTRY }}/${{ github.repository }}/nakama:${{ github.sha }} \
-t ${{ env.REGISTRY }}/${{ github.repository }}/nakama:latest \
./nakama
- name: Push Nakama Image
if: github.event_name != 'pull_request'
run: |
docker push ${{ env.REGISTRY }}/${{ github.repository }}/nakama:${{ github.sha }}
docker push ${{ env.REGISTRY }}/${{ github.repository }}/nakama:latest