-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.production.yaml
75 lines (67 loc) · 2.1 KB
/
app-config.production.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
75
app:
baseUrl: ${APP_BASE_URL}
backend:
baseUrl: ${APP_BASE_URL}
listen: ':7007'
csp:
connect-src: ["'self'", 'http:', 'https:']
script-src:
["'self'", 'http:', 'https:', "'unsafe-eval'", '${APP_BASE_URL}']
img-src: ["'self'", 'http:', 'https:', 'data:']
cors:
origin: ${APP_BASE_URL}
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
integrations:
github:
- host: github.com
apps:
- appId: ${CATALOG_GITHUB_APP_ID}
clientId: ${CATALOG_GITHUB_APP_CLIENT_ID}
clientSecret: ${CATALOG_GITHUB_APP_CLIENT_SECRET}
privateKey: ${CATALOG_GITHUB_APP_PRIVATE_KEY}
webhookSecret: ${CATALOG_GITHUB_APP_WEBHOOK_SECRET}
gitlab:
- host: gitlab.com
token: ${GITLAB_TOKEN}
auth:
environment: default
providers:
guest:
dangerouslyAllowOutsideDevelopment: true
userEntityRef: user:default/guest
github:
default:
clientId: ${AUTH_GITHUB_CLIENT_ID}
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
signIn:
resolvers:
# Matches the GitHub username with the Backstage user entity name.
# See https://backstage.io/docs/auth/github/provider#resolvers for more resolvers.
- resolver: usernameMatchingUserEntityName
catalog:
# Overrides the default list locations from app-config.yaml as these contain example data.
# See https://backstage.io/docs/features/software-catalog/#adding-components-to-the-catalog for more details
# on how to get entities into the catalog.
providers:
github:
default:
host: github.com
owner: echohello-dev
entityFilename: /**/catalog-info.yaml
schedule:
frequency: { minutes: 30 }
timeout: { minutes: 3 }
locations:
- type: file
target: ../../examples/entities.yaml
- type: file
target: ../../examples/org.yaml
- type: file
target: ../../examples/all.yaml
- type: file
target: ../../examples/acme-corp.yaml
plausible:
enabled: true
dataDomain: ${PLAUSIBLE_DATA_DOMAIN}
sourceUrl: ${PLAUSIBLE_SOURCE_URL}