Files
backstage/app-config.production.yaml
RBER Admin eadfc38667
All checks were successful
continuous-integration/drone/push Build is passing
Fix Gitea integration: use username/password instead of token
The publish:gitea scaffolder action requires username and password
for Git push operations, not just a token. Changed config to use
GITEA_USERNAME and GITEA_PASSWORD environment variables.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-10 09:37:25 +00:00

46 lines
1008 B
YAML

app:
title: RBER Developer Portal
baseUrl: http://backstage.rber.bj
organization:
name: RBER - Réseau Béninois pour l'Éducation et la Recherche
backend:
baseUrl: http://backstage.rber.bj
listen:
port: 7007
cors:
origin: http://backstage.rber.bj
reading:
allow:
- host: git.rber.bj
database:
client: pg
connection:
host: ${POSTGRES_HOST}
port: ${POSTGRES_PORT}
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
database: ${POSTGRES_DB}
integrations:
gitea:
- host: git.rber.bj
baseUrl: http://git.rber.bj
username: ${GITEA_USERNAME}
password: ${GITEA_PASSWORD}
auth:
providers:
guest:
dangerouslyAllowOutsideDevelopment: true
catalog:
rules:
- allow: [Component, System, API, Resource, Location, Template]
locations:
- type: url
target: http://git.rber.bj/rber/backstage-templates/raw/branch/main/templates/node-api/template.yaml
rules:
- allow: [Template]