1
+ app :
2
+ title : Scaffolded Backstage App
3
+ baseUrl : http://localhost:3000
4
+
5
+ organization :
6
+ name : My Company
7
+
8
+ backend :
9
+ # Used for enabling authentication, secret is shared by all backend plugins
10
+ # See https://backstage.io/docs/auth/service-to-service-auth for
11
+ # information on the format
12
+ # auth:
13
+ # keys:
14
+ # - secret: ${BACKEND_SECRET}
15
+ baseUrl : http://localhost:80
16
+ listen :
17
+ port : 7007
18
+ # Uncomment the following host directive to bind to specific interfaces
19
+ # host: 127.0.0.1
20
+ csp :
21
+ connect-src : ["'self'", 'http:', 'https:']
22
+ # Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
23
+ # Default Helmet Content-Security-Policy values can be removed by setting the key to false
24
+ cors :
25
+ origin : http://localhost:3000
26
+ methods : [GET, HEAD, PATCH, POST, PUT, DELETE]
27
+ credentials : true
28
+ # This is for local development only, it is not recommended to use this in production
29
+ # The production database configuration is stored in app-config.production.yaml
30
+ database :
31
+ client : pg
32
+ connection :
33
+ host : postgres
34
+ port : 5432
35
+ user : backstage
36
+ password : hunter2
37
+ # workingDirectory: /tmp # Use this to configure a working directory for the scaffolder, defaults to the OS temp-dir
38
+
39
+ integrations :
40
+ github :
41
+ - host : github.com
42
+ # This is a Personal Access Token or PAT from GitHub. You can find out how to generate this token, and more information
43
+ # about setting up the GitHub integration here: https://backstage.io/docs/getting-started/configuration#setting-up-a-github-integration
44
+ token : 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
45
+ # ## Example for how to add your GitHub Enterprise instance using the API:
46
+ # - host: ghe.example.net
47
+ # apiBaseUrl: https://ghe.example.net/api/v3
48
+ # token: ${GHE_TOKEN}
49
+
50
+ proxy :
51
+ # ## Example for how to add a proxy endpoint for the frontend.
52
+ # ## A typical reason to do this is to handle HTTPS and CORS for internal services.
53
+ # '/test':
54
+ # target: 'https://example.com'
55
+ # changeOrigin: true
56
+
57
+ # Reference documentation http://backstage.io/docs/features/techdocs/configuration
58
+ # Note: After experimenting with basic setup, use CI/CD to generate docs
59
+ # and an external cloud storage when deploying TechDocs for production use-case.
60
+ # https://backstage.io/docs/features/techdocs/how-to-guides#how-to-migrate-from-techdocs-basic-to-recommended-deployment-approach
61
+ techdocs :
62
+ builder : ' local' # Alternatives - 'external'
63
+ generator :
64
+ runIn : ' docker' # Alternatives - 'local'
65
+ publisher :
66
+ type : ' local' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives.
67
+
68
+ auth :
69
+ # see https://backstage.io/docs/auth/ to learn about auth providers
70
+ providers : {}
71
+
72
+ scaffolder :
73
+ # see https://backstage.io/docs/features/software-templates/configuration for software template options
74
+
75
+ catalog :
76
+ import :
77
+ entityFilename : catalog-info.yaml
78
+ pullRequestBranchName : backstage-integration
79
+ rules :
80
+ - allow : [Component, System, API, Resource, Location]
81
+ locations :
82
+ # Local example data, file locations are relative to the backend process, typically `packages/backend`
83
+ - type : file
84
+ target : ../../examples/entities.yaml
85
+
86
+ # Local example template
87
+ - type : file
88
+ target : ../../examples/template/template.yaml
89
+ rules :
90
+ - allow : [Template]
91
+
92
+ # Local example organizational data
93
+ - type : file
94
+ target : ../../examples/org.yaml
95
+ rules :
96
+ - allow : [User, Group]
97
+
98
+ # # Uncomment these lines to add more example data
99
+ # - type: url
100
+ # target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml
101
+
102
+ # # Uncomment these lines to add an example org
103
+ # - type: url
104
+ # target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/acme-corp.yaml
105
+ # rules:
106
+ # - allow: [User, Group]
0 commit comments