-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.production.yaml
62 lines (61 loc) · 1.98 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
app:
# Should be the same as backend.baseUrl when using the `app-backend` plugin.
baseUrl: ${PROTOCOL}://${HOSTNAME}
backend:
csp:
connect-src:
- "'self'"
- 'http:'
- 'https:'
upgrade-insecure-requests: false
img-src: ["'self'", "https://itsyndicate.org", "https://gitlab.com", "https://secure.gravatar.com"]
listen: ':7007'
# Note that the baseUrl should be the URL that the browser and other clients
# should use when communicating with the backend, i.e. it needs to be
# reachable not just from within the backend host, but from all of your
# callers. When its value is "http://localhost:7007", it's strictly private
# and can't be reached by others.
baseUrl: ${PROTOCOL}://${HOSTNAME}
# The listener can also be expressed as a single <host>:<port> string. In this case we bind to
# all interfaces, the most permissive setting. The right value depends on your specific deployment.
cors:
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
origin: ${PROTOCOL}://${HOSTNAME}
# config options: https://node-postgres.com/apis/client
database:
client: better-sqlite3
connection: ':memory:'
reading:
allow:
- host: ${GITLAB_HOSTNAME}
gitlab:
allowedKinds:
- Component
- Resource
auth:
environment: production
providers:
guest:
userEntityRef: user:default/guest
dangerouslyAllowOutsideDevelopment: true
gitlab:
production:
clientId: ${AUTH_GITLAB_CLIENT_ID}
clientSecret: ${AUTH_GITLAB_CLIENT_SECRET}
audience: https://${GITLAB_HOSTNAME}
signIn:
resolvers:
- resolver: emailMatchingUserEntityProfileEmail
scaffolder:
# see https://backstage.io/docs/features/software-templates/configuration for software template options
defaultAuthor:
name: ITSyndicate
email: itsyndicate@gmail.com
catalog:
providers:
backstage:
enabled: false
schedule:
frequency: { hours: 12 }
timeout: { minutes: 30 }