Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -7,7 +7,7 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Public URL — must match the Traefik-routed hostname in docker-compose.override.yml
|
||||
# -----------------------------------------------------------------------------
|
||||
SENTRY_BASE_URL=https://sentry.boiler.saas-ctrl.com
|
||||
SENTRY_BASE_URL=https://sentry.saas-ctrl.com
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Admin / superuser bootstrap
|
||||
@@ -40,9 +40,9 @@ SENTRY_DSN_WEB=
|
||||
# Endpoint format examples:
|
||||
# AWS: https://s3.eu-central-1.amazonaws.com
|
||||
# Hetzner: https://nbg1.your-objectstorage.com
|
||||
# MinIO local: https://minio.boiler.saas-ctrl.com
|
||||
# MinIO local: https://minio.saas-ctrl.com
|
||||
SENTRY_S3_BACKUP_ENDPOINT=https://nbg1.your-objectstorage.com
|
||||
SENTRY_S3_BACKUP_BUCKET=boilerplate-sentry-backups
|
||||
SENTRY_S3_BACKUP_BUCKET=hivegrid-sentry-backups
|
||||
SENTRY_S3_BACKUP_ACCESS_KEY=replace-me
|
||||
SENTRY_S3_BACKUP_SECRET_KEY=replace-me
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# `infra/sentry` — Self-Hosted Sentry Stack
|
||||
|
||||
This directory contains the artifacts to deploy a **self-hosted Sentry** instance
|
||||
on the staging Hetzner host (`boilerplate-staging`, see
|
||||
on the staging Hetzner host (`hivegrid-staging`, see
|
||||
`docs/improvement-plan/archive/STAGING-ACCESS.md`) via the existing Coolify-managed
|
||||
Docker-Compose runtime.
|
||||
|
||||
@@ -25,7 +25,7 @@ it lacks full Performance / Replay / OTLP support.
|
||||
- Docker Engine ≥ 24 + Docker Compose v2 (provided by Coolify)
|
||||
- Traefik v3.6 reverse-proxy from `coolify-proxy` (Let's Encrypt ACME via
|
||||
`letsencrypt` cert resolver)
|
||||
- DNS-record `sentry.boiler.saas-ctrl.com` → `46.225.5.93`
|
||||
- DNS-record `sentry.saas-ctrl.com` → `46.225.5.93`
|
||||
|
||||
## Layout
|
||||
|
||||
@@ -56,7 +56,7 @@ runbook). High-level:
|
||||
1. Copy `.env.example` → `.env`, fill secrets (Coolify-Vault).
|
||||
2. Run `./install.sh` (clones upstream at pinned tag, applies overlays,
|
||||
installs).
|
||||
3. In Coolify, attach this stack to the `sentry.boiler.saas-ctrl.com` domain.
|
||||
3. In Coolify, attach this stack to the `sentry.saas-ctrl.com` domain.
|
||||
4. Smoke-test per `## Test Requirements` in
|
||||
`docs/improvement-plan/02-observability/sentry-selfhost-setup.md`.
|
||||
|
||||
|
||||
@@ -40,13 +40,13 @@ services:
|
||||
# its own labels; the ones below are the project-specific routing rules.
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=coolify"
|
||||
- "traefik.http.routers.sentry.rule=Host(`sentry.boiler.saas-ctrl.com`)"
|
||||
- "traefik.http.routers.sentry.rule=Host(`sentry.saas-ctrl.com`)"
|
||||
- "traefik.http.routers.sentry.entrypoints=https"
|
||||
- "traefik.http.routers.sentry.tls=true"
|
||||
- "traefik.http.routers.sentry.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.services.sentry.loadbalancer.server.port=80"
|
||||
# HTTP -> HTTPS redirect
|
||||
- "traefik.http.routers.sentry-http.rule=Host(`sentry.boiler.saas-ctrl.com`)"
|
||||
- "traefik.http.routers.sentry-http.rule=Host(`sentry.saas-ctrl.com`)"
|
||||
- "traefik.http.routers.sentry-http.entrypoints=http"
|
||||
- "traefik.http.routers.sentry-http.middlewares=sentry-https-redirect"
|
||||
- "traefik.http.middlewares.sentry-https-redirect.redirectscheme.scheme=https"
|
||||
|
||||
@@ -140,4 +140,4 @@ log "starting stack (detached)"
|
||||
)
|
||||
|
||||
log "done. Web UI: ${SENTRY_BASE_URL}"
|
||||
log "next: log in, enable 2FA on the admin account, then create projects 'boilerplate-api', 'boilerplate-worker', 'boilerplate-web' and paste their DSNs into Coolify secrets."
|
||||
log "next: log in, enable 2FA on the admin account, then create projects 'hivegrid-api', 'hivegrid-worker', 'hivegrid-web' and paste their DSNs into Coolify secrets."
|
||||
@@ -87,9 +87,9 @@ quotas:
|
||||
# in the Sentry UI ("Project Settings -> Client Keys -> Allowed Domains").
|
||||
# Listed here so operators have one searchable place to remember what should
|
||||
# be set:
|
||||
# - https://boiler.saas-ctrl.com
|
||||
# - https://www.boiler.saas-ctrl.com
|
||||
# - https://admin.boiler.saas-ctrl.com
|
||||
# - https://api.boiler.saas-ctrl.com
|
||||
# - https://hivegrid.de
|
||||
# - https://www.hivegrid.de
|
||||
# - https://admin.hivegrid.de
|
||||
# - https://api.hivegrid.de
|
||||
# Leave the array empty in the UI ONLY for the API and Worker projects (their
|
||||
# DSNs are never used from a browser).
|
||||
@@ -15,7 +15,7 @@ import os
|
||||
# ---------------------------------------------------------------------------
|
||||
# Single-organization mode
|
||||
# ---------------------------------------------------------------------------
|
||||
# We run one tenant ("Boilerplate"). This collapses the org-picker UI and lets
|
||||
# We run one tenant ("HiveGrid"). This collapses the org-picker UI and lets
|
||||
# the admin see the global dashboard directly.
|
||||
SENTRY_SINGLE_ORGANIZATION = True
|
||||
|
||||
@@ -30,7 +30,7 @@ except NameError:
|
||||
SENTRY_FEATURES = {}
|
||||
|
||||
# Public signup OFF — invites only. This is the single most important
|
||||
# hardening setting; without it any visitor to sentry.boiler.saas-ctrl.com
|
||||
# hardening setting; without it any visitor to sentry.saas-ctrl.com
|
||||
# can create an account and start receiving events.
|
||||
SENTRY_FEATURES["auth:register"] = False
|
||||
|
||||
@@ -61,7 +61,7 @@ SENTRY_ADMIN_EMAIL = os.environ.get("SENTRY_ADMIN_EMAIL", "")
|
||||
# Upstream's compose ships its own smtp container; we keep that wiring. The
|
||||
# admin email above is the From-address for system mails.
|
||||
SENTRY_OPTIONS = globals().get("SENTRY_OPTIONS", {})
|
||||
SENTRY_OPTIONS.setdefault("mail.from", SENTRY_ADMIN_EMAIL or "sentry@boiler.saas-ctrl.com")
|
||||
SENTRY_OPTIONS.setdefault("mail.from", SENTRY_ADMIN_EMAIL or "sentry@hivegrid.de")
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# URL prefix — must match the Traefik-routed hostname
|
||||
@@ -69,7 +69,7 @@ SENTRY_OPTIONS.setdefault("mail.from", SENTRY_ADMIN_EMAIL or "sentry@boiler.saas
|
||||
# Sentry uses this to build absolute URLs in emails, web-hooks, and the auth
|
||||
# flow. Mismatch leads to broken magic-links in invite emails.
|
||||
SENTRY_OPTIONS["system.url-prefix"] = os.environ.get(
|
||||
"SENTRY_BASE_URL", "https://sentry.boiler.saas-ctrl.com"
|
||||
"SENTRY_BASE_URL", "https://sentry.saas-ctrl.com"
|
||||
)
|
||||
|
||||
# Trust the X-Forwarded-* headers from Traefik (TLS terminated upstream).
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# and a default ACME cert-resolver named `letsencrypt`. The labels below match
|
||||
# that convention.
|
||||
#
|
||||
# Host: sentry.boiler.saas-ctrl.com -> DNS A record points at 46.225.5.93.
|
||||
# Host: sentry.saas-ctrl.com -> DNS A record points at 46.225.5.93.
|
||||
# When a different staging domain is chosen, update both this file and the
|
||||
# inline labels in docker-compose.override.yml (single source of truth lives
|
||||
# in the override file; this fragment is a copy for review).
|
||||
@@ -21,14 +21,14 @@
|
||||
# Primary HTTPS router — terminates TLS, forwards to nginx:80.
|
||||
traefik.enable: "true"
|
||||
traefik.docker.network: "coolify"
|
||||
traefik.http.routers.sentry.rule: "Host(`sentry.boiler.saas-ctrl.com`)"
|
||||
traefik.http.routers.sentry.rule: "Host(`sentry.saas-ctrl.com`)"
|
||||
traefik.http.routers.sentry.entrypoints: "https"
|
||||
traefik.http.routers.sentry.tls: "true"
|
||||
traefik.http.routers.sentry.tls.certresolver: "letsencrypt"
|
||||
traefik.http.services.sentry.loadbalancer.server.port: "80"
|
||||
|
||||
# HTTP -> HTTPS redirect (port 80 catches plain-HTTP hits and 308s them to TLS).
|
||||
traefik.http.routers.sentry-http.rule: "Host(`sentry.boiler.saas-ctrl.com`)"
|
||||
traefik.http.routers.sentry-http.rule: "Host(`sentry.saas-ctrl.com`)"
|
||||
traefik.http.routers.sentry-http.entrypoints: "http"
|
||||
traefik.http.routers.sentry-http.middlewares: "sentry-https-redirect"
|
||||
traefik.http.middlewares.sentry-https-redirect.redirectscheme.scheme: "https"
|
||||
|
||||
Reference in new issue
Block a user