cms: point Sveltia at the machine Gitea (localhost:3000, machine OAuth app_id)

This commit is contained in:
2026-07-28 18:24:40 +02:00
parent 46ec5e2e3c
commit bc0201252d
+9 -7
View File
@@ -1,14 +1,16 @@
# Sveltia CMS config — backend: local Gitea (demo). Editors log in via Gitea OAuth # Sveltia CMS config — backend: Gitea on the Cyfronet machine (demo). Editors
# (PKCE, no client secret); edits are committed to the ctao/portal repo in Gitea. # log in via Gitea OAuth (PKCE, no client secret); edits are committed to the
# Local-only setup: for phone demos switch base_url/api_root to a cloudflared # ctao/portal repo. localhost:3000 works both on the machine and through the
# tunnel URL and update the OAuth redirect_uri + Gitea ROOT_URL accordingly. # ssh -L tunnel (same port number keeps Gitea's ROOT_URL valid).
# TODO(vhost): switch base_url/api_root to the public Gitea URL once the
# ingress vhost exists (and update the OAuth app's redirect_uris + ROOT_URL).
backend: backend:
name: gitea name: gitea
repo: ctao/portal repo: ctao/portal
branch: main branch: main
base_url: http://localhost:3010 base_url: http://localhost:3000
api_root: http://localhost:3010/api/v1 api_root: http://localhost:3000/api/v1
app_id: 73c02331-8842-4ddc-b769-8b09c3c422fb app_id: cf1c44ac-ebe6-4a97-bf2f-f7f26ef1126c
# CTAO branding on the CMS sign-in screen (official Decap/Sveltia option) # CTAO branding on the CMS sign-in screen (official Decap/Sveltia option)
logo_url: /brand/CTAO_Logo_login.svg logo_url: /brand/CTAO_Logo_login.svg