feat(website): add k8s deployment, service, ingress rules and CI for SOR.Website

- deployment-website.yaml + service-website.yaml: new ClusterIP deployment
  for sor-website image; injects only the three secrets it needs (Postgres,
  Redis, Cdn__PublicBaseUrl) — no NATS or ENABLED_SERVICES
- ingress.yaml: add TLS + rules for aeternalisgames.com and www.aeternalisgames.com
  pointing to sor-website service
- appsettings.json: remove localhost ConnectionStrings (dev defaults already
  live in appsettings.Development.json; prod values come from k8s secrets)
- build-push.yml: build and push sor-website image from Dockerfile.website
- build-push-client.yml: add paths filter so Godot export only runs on
  Client/** changes; add --network host to docker build

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-04-23 06:30:13 -04:00
co-authored by Claude Happy
parent 4ead96be0c
commit d2a4639007
6 changed files with 49 additions and 14 deletions
+4 -1
View File
@@ -3,6 +3,9 @@ name: Build & Push Web Client
on:
push:
branches: [main]
paths:
- "Client/**"
- ".gitea/workflows/build-push-client.yml"
env:
REGISTRY: registry.aeternalisgames.com
@@ -38,7 +41,7 @@ jobs:
run: |
set -euo pipefail
SHA='${{ steps.tag.outputs.SHA }}'
docker build -f Client/origin-client/Dockerfile.web \
docker build --network host -f Client/origin-client/Dockerfile.web \
-t "${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-client:${SHA}" \
-t "${{ env.REGISTRY }}/${{ env.PROJECT }}/sor-client:latest" \
Client/origin-client