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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user