-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.production.yaml
78 lines (66 loc) · 1.75 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
76
77
78
app:
baseUrl: https://backstage-deployment-1006240973223.europe-west10.run.app
backend:
baseUrl: https://backstage-deployment-1006240973223.europe-west10.run.app
cors:
origin: https://backstage-deployment-1006240973223.europe-west10.run.app
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: ${POSTGRES_DB}
cache:
store: memory
integrations:
github:
- host: github.com
token: ${GITHUB_TOKEN}
gitlab:
- host: gitlab.com
token: ${GITLAB_TOKEN}
techdocs:
builder: 'external'
generator:
runIn: 'local'
publisher:
type: 'googleGcs'
googleGcs:
bucketName: 'backstage-codeidp-techdocs'
projectId: code-idp
credentials: ${TECHDOCS_GCS_CREDENTIALS}
# scaffolder:
catalog:
import:
entityFilename: catalog-info.yaml
pullRequestBranchName: backstage-integration
rules:
- allow: [Component, System, API, User, Group, Resource, Location, Domain]
locations:
- type: file
target: ./examples/template/initiate-deployment.yaml
rules:
- allow: [Template]
- type: file
target: ./examples/template/register-component.yaml
rules:
- allow: [Template]
- type: file
target: ./examples/template/sample-document.yaml
rules:
- allow: [Template]
auth:
environment: production
providers:
google:
development:
clientId: ${GOOGLE_CLIENT_ID}
clientSecret: ${GOOGLE_CLIENT_SECRET}
github:
development:
clientId: ${GITHUB_CLIENT_ID}
clientSecret: ${GITHUB_CLIENT_SECRET}