-
Notifications
You must be signed in to change notification settings - Fork 17
/
app-config.local.yaml
72 lines (62 loc) · 1.72 KB
/
app-config.local.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
auth:
environment: development
providers:
guest:
dangerouslyAllowOutsideDevelopment: true
# github:
# development:
# clientId: ${AUTH_GITHUB_CLIENT_ID}
# clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
# integrations:
# github:
# - host: github.com
# apps:
# - $include: github-app-credentials.yaml
app:
title: RHDH
baseUrl: ${BASE_URL}
backend:
listen:
port: 7007
baseUrl: ${BASE_URL}
# uncomment this if backend.baseUrl is exposed over HTTPS
# and you want RHDH to auto-generate and serve a self-signed certificate.
# https: true
cors:
origin: ${BASE_URL}
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
csp:
upgrade-insecure-requests: false
# comment out the following 'database' section to use the PostgreSQL database
database:
client: better-sqlite3
connection: ':memory:'
auth:
keys:
- secret: "development"
# You can use local files from catalog-entities directory to load entities into the catalog
catalog:
rules:
- allow: [Component, API, Location, Template, Domain, User, Group, System, Resource]
locations:
- type: file
target: /opt/app-root/src/configs/catalog-entities/users.yaml
rules:
- allow: [User, Group]
- type: file
target: /opt/app-root/src/configs/catalog-entities/components.yaml
rules:
- allow: [Component, System]
# - type: url
# target: https://github.com/backstage/backstage/blob/master/packages/catalog-model/examples/all.yaml
# rules:
# - allow: [Component, User, Group, Domain]
techdocs:
generator:
runIn: local
builder: local
publisher:
type: local
local:
publishDirectory: /tmp/techdocs