generated from humanitec-architecture/backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.yaml
74 lines (65 loc) · 1.56 KB
/
app-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
app:
title: Scaffolded Backstage App - POC
baseUrl: http://localhost:3000
organization:
name: Humanitec
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: better-sqlite3
connection: ':memory:'
integrations:
github:
- host: github.com
apps:
- $include: credentials/github-app-backstage-humanitec-credentials.yaml
proxy:
techdocs:
builder: 'local'
generator:
runIn: 'local'
publisher:
type: 'local'
auth:
environment: development
providers:
google:
development:
clientId: ${AUTH_GOOGLE_CLIENT_ID}
clientSecret: ${AUTH_GOOGLE_CLIENT_SECRET}
signIn:
resolvers:
# typically you would pick one of these
- resolver: emailMatchingUserEntityProfileEmail
scaffolder:
catalog:
rules:
- allow: [Component, System, API, Resource, Location]
locations:
- type: file
target: ../../catalog-info.yaml
- type: file
target: ../../templates/node-service/template.yaml
rules:
- allow: [Template]
- type: file
target: ../../templates/podinfo-example/template.yaml
rules:
- allow: [Template]
- type: file
target: ../../examples/org.yaml
rules:
- allow: [User, Group]
humanitec:
orgId: ${HUMANITEC_ORG_ID}
token: ${HUMANITEC_TOKEN}
cloudProvider: ${CLOUD_PROVIDER}
githubOrgId: ${GITHUB_ORG_ID}