-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp-config.production.yaml
51 lines (50 loc) · 1.46 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
backend:
# config options: https://node-postgres.com/apis/client
database:
client: pg
connection:
host: ${POSTGRES_HOST}
password: ${POSTGRES_PASSWORD}
port: ${POSTGRES_PORT}
user: ${POSTGRES_USER}
catalog:
import:
entityFilename: catalog-info.yaml
pullRequestBranchName: backstage-integration
rules:
- allow: [Component, System, API, Resource, Location]
locations:
- type: url
target: https://github.com/bcgov/developer-experience-team/blob/main/developer-portal/catalog/catalog-seed-production.yml
rules:
- allow: [Component]
search:
collators:
catalog:
schedule: # same options as in SchedulerServiceTaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
initialDelay: { seconds: 3 }
frequency: { minutes: 10 }
timeout: { minutes: 15 }
filter:
kind:
['API', 'Component', 'Domain', 'Group', 'Resource', 'System', 'User']
stackoverflow:
baseUrl: ${STACK_OVERFLOW_URL}
apiKey: ${STACK_OVERFLOW_API_KEY}
requestParams:
pagesize: 100
site: stackoverflow
auth:
environment: default
providers:
guest:
userEntityRef: user:default/guest
dangerouslyAllowOutsideDevelopment: true
github:
default:
clientId: ${AUTH_GITHUB_CLIENT_ID}
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
signIn:
resolvers:
- resolver: usernameMatchingUserEntityName