Add CI/CD pipeline, Dockerfiles, and k8s/ArgoCD manifests
- Gitea Actions workflow: build sor-host + sor-admin, push to Harbor, auto-update image tags in k8s manifests (GitOps — ArgoCD watches deploy/k8s/) - Dockerfile.host / Dockerfile.admin: multi-stage .NET 8 builds, non-root runtime - deploy/k8s/: configmap, deployments, services, nginx ingress - hub.aeternalisgames.com → sor-host (WebSocket gateway) - admin.aeternalisgames.com → sor-admin (Blazor admin portal) - hub-tls for hub, cert-manager auto-provisions admin-tls - deploy/secrets/: README + *.yaml.template files to populate (gitignored) - deploy/argo/application.yaml: ArgoCD Application (namespace stone-server) - Root .gitignore: excludes deploy/secrets/*.yaml (never commit populated secrets) 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:
@@ -0,0 +1,26 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: sor-config
|
||||
namespace: stone-server
|
||||
data:
|
||||
# ── SOR.Host ────────────────────────────────────────────────────────────────
|
||||
ENABLED_SERVICES: "all"
|
||||
ASPNETCORE_URLS: "http://+:8080"
|
||||
ASPNETCORE_ENVIRONMENT: "Production"
|
||||
|
||||
# WebSocket gateway settings
|
||||
WebSocket__Path: "/ws"
|
||||
Gateway__AuthTimeoutMs: "10000"
|
||||
Gateway__MaxMessagesPerSecond: "20"
|
||||
|
||||
# gRPC: gateway calls auth at this address.
|
||||
# In single-pod (ENABLED_SERVICES=all) mode both run in the same process on the same port.
|
||||
Services__Auth: "http://localhost:8080"
|
||||
|
||||
# NATS message bus — update to your NATS service address.
|
||||
# TODO: replace with your actual NATS service URL.
|
||||
Nats__Url: "nats://nats.stone-server.svc.cluster.local:4222"
|
||||
|
||||
# ── SOR.Admin ───────────────────────────────────────────────────────────────
|
||||
# Admin inherits ASPNETCORE_URLS and ASPNETCORE_ENVIRONMENT from the same configmap.
|
||||
Reference in New Issue
Block a user