1
1
app :
2
- title : Moz Backstage App
2
+ title : moz backstage app
3
3
baseUrl : http://localhost:3000
4
4
analytics :
5
- glean :
5
+ glean :
6
6
appId : moz_backstage
7
- enabled : true
8
- debug :
7
+ debug :
9
8
logging : false
10
9
tag : backstage-dev
10
+
11
+ enabled : true
11
12
environment : development
12
13
13
14
organization :
14
- name : Mozilla
15
+ name : mozilla
15
16
16
17
backend :
17
- # Used for enabling authentication, secret is shared by all backend plugins
18
- # See https://backstage.io/docs/auth/service-to-service-auth for
19
- # information on the format
20
- # auth:
21
- # keys:
22
- # - secret: ${BACKEND_SECRET}
23
18
baseUrl : http://localhost:7007
24
19
listen :
25
20
port : 7007
26
- # Uncomment the following host directive to bind to specific interfaces
27
- # host: 127.0.0.1
21
+
28
22
csp :
29
23
connect-src : ["'self'", 'http:', 'https:']
30
- # Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
31
- # Default Helmet Content-Security-Policy values can be removed by setting the key to false
24
+
32
25
cors :
33
26
origin : http://localhost:3000
34
27
methods : [GET, HEAD, PATCH, POST, PUT, DELETE]
35
28
credentials : true
36
- # This is for local development only, it is not recommended to use this in production
37
- # The production database configuration is stored in app-config.production.yaml
29
+
38
30
database :
39
- # client: better-sqlite3
40
- # connection: ':memory:'
41
31
client : pg
42
32
connection :
43
33
host : ${POSTGRES_HOST}
44
34
port : ${POSTGRES_PORT}
45
35
user : ${POSTGRES_USER}
46
36
password : ${POSTGRES_PASSWORD}
47
- # workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
37
+
38
+ cache :
39
+ store : redis
40
+ connection : redis://127.0.0.1:6379
48
41
49
42
integrations :
50
43
github :
@@ -78,7 +71,7 @@ techdocs:
78
71
79
72
auth :
80
73
# see https://backstage.io/docs/auth/ to learn about auth providers
81
- environment : ' development '
74
+ environment : dev
82
75
providers :
83
76
# See https://backstage.io/docs/auth/guest/provider
84
77
guest : {}
@@ -87,57 +80,22 @@ scaffolder:
87
80
# see https://backstage.io/docs/features/software-templates/configuration for software template options
88
81
89
82
catalog :
90
- providers :
91
- githubOrg :
92
- id : mozilla
93
- githubUrl : https://github.com
94
- orgs : ['mozilla', 'mozilla-services']
95
- schedule :
96
- frequency : { hours: 1 }
97
- timeout : { minutes: 50 }
98
83
import :
99
84
entityFilename : catalog-info.yaml
100
85
pullRequestBranchName : backstage-integration
86
+
101
87
rules :
102
88
- allow : [Component, System, API, Resource, Location]
103
- locations :
104
- # Local example data, file locations are relative to the backend process, typically `packages/backend`
105
- - type : file
106
- target : ../../examples/entities.yaml
107
-
108
- # Templates
109
- - type : file
110
- target : ../../examples/template/template.yaml
111
- rules :
112
- - allow : [Template]
113
89
90
+ locations :
114
91
- type : file
115
- target : ../.. /scaffolder-templates/*/template.yaml
92
+ target : /app /scaffolder-templates/*/template.yaml
116
93
rules :
117
- - allow : [Template]
94
+ - allow :
95
+ - Template
118
96
119
- # Local example organizational data
120
- - type : file
121
- target : ../../examples/org.yaml
122
- rules :
123
- - allow : [User, Group]
124
-
125
- # # Uncomment these lines to add more example data
126
- # - type: url
127
- # target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml
128
-
129
- # # Uncomment these lines to add an example org
130
- # - type: url
131
- # target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml
132
- # rules:
133
- # - allow: [User, Group]
134
- # Experimental: Always use the search method in UrlReaderProcessor.
135
- # New adopters are encouraged to enable it as this behavior will be the default in a future release.
136
97
useUrlReadersSearch : true
137
98
138
- kubernetes :
139
- # see https://backstage.io/docs/features/kubernetes/configuration for kubernetes configuration options
140
-
141
99
# see https://backstage.io/docs/permissions/getting-started for more on the permission framework
142
100
permission :
143
101
# setting this to `false` will disable permissions
0 commit comments