Public Access
initial-commit
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
app:
|
||||
title: Charybdis Demo
|
||||
baseUrl: http://localhost:3000
|
||||
|
||||
organization:
|
||||
name: Charybdis
|
||||
|
||||
backend:
|
||||
baseUrl: http://localhost:7007
|
||||
listen:
|
||||
port: 7007
|
||||
csp:
|
||||
connect-src: ["'self'", 'http:', 'https:']
|
||||
cors:
|
||||
origin: http://localhost:3000
|
||||
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
|
||||
credentials: true
|
||||
database:
|
||||
client: pg
|
||||
connection:
|
||||
host: ${POSTGRES_HOST}
|
||||
port: ${POSTGRES_PORT}
|
||||
user: ${POSTGRES_USER}
|
||||
password: ${POSTGRES_PASSWORD}
|
||||
database: backstage
|
||||
|
||||
integrations:
|
||||
github:
|
||||
- host: github.com
|
||||
# Optional: token for private repos
|
||||
# token: ${GITHUB_TOKEN}
|
||||
|
||||
proxy:
|
||||
'/charybdis':
|
||||
target: ${CHARYBDIS_URL}
|
||||
changeOrigin: true
|
||||
|
||||
# Catalog configuration - Point to Charybdis
|
||||
catalog:
|
||||
import:
|
||||
entityFilename: catalog-info.yaml
|
||||
pullRequestBranchName: backstage-integration
|
||||
|
||||
rules:
|
||||
- allow: [Component, System, API, Resource, Location]
|
||||
|
||||
# Charybdis as a location provider
|
||||
locations:
|
||||
# Dynamic location from Charybdis YAML adapter
|
||||
- type: url
|
||||
target: ${CHARYBDIS_URL}/yaml/locations
|
||||
rules:
|
||||
- allow: [Component, System, API, Resource, User, Group, Domain]
|
||||
|
||||
# Processors
|
||||
processors:
|
||||
githubOrg:
|
||||
providers:
|
||||
- target: https://github.com
|
||||
# Optional: token for private orgs
|
||||
# token: ${GITHUB_TOKEN}
|
||||
|
||||
auth:
|
||||
# For demo purposes, we use guest authentication
|
||||
# In production, configure proper authentication
|
||||
providers:
|
||||
guest:
|
||||
dangerouslyAllowOutsideDevelopment: true
|
||||
|
||||
# Scaffolder configuration
|
||||
scaffolder:
|
||||
defaultAuthor:
|
||||
name: Charybdis
|
||||
email: charybdis@example.com
|
||||
|
||||
# TechDocs configuration (optional)
|
||||
techdocs:
|
||||
builder: 'local'
|
||||
generator:
|
||||
runIn: 'local'
|
||||
publisher:
|
||||
type: 'local'
|
||||
|
||||
# Search configuration (optional)
|
||||
search:
|
||||
pg:
|
||||
highlightOptions:
|
||||
useHighlight: true
|
||||
maxWord: 35
|
||||
minWord: 15
|
||||
shortWord: 3
|
||||
highlightAll: false
|
||||
Reference in New Issue
Block a user