-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.production.yaml
60 lines (58 loc) · 2.31 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
app:
# Should be the same as backend.baseUrl when using the `app-backend` plugin.
baseUrl: https://portal.theflyingbirds.net
backend:
# 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: https://portal.theflyingbirds.net
# 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.
listen: ':7007'
auth:
keys:
- secret: ${BACKEND_SECRET}
# config options: https://node-postgres.com/api/client
database:
client: pg
connection:
host: ${POSTGRES_HOST}
port: 5432
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
# https://node-postgres.com/features/ssl
# you can set the sslmode configuration option via the `PGSSLMODE` environment variable
# see https://www.postgresql.org/docs/current/libpq-ssl.html Table 33.1. SSL Mode Descriptions (e.g. require)
# ssl:
# ca: # if you have a CA file and want to verify it you can uncomment this section
# $file: <file-path>/ca/server.crt
integrations:
github:
- host: github.com
apps:
- $include: github-app-tfb-backstage-credentials.yaml
auth:
environment: production
providers:
github:
production:
clientId: ${AUTH_GITHUB_CLIENT_ID}
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
# callbackUrl: https://backstage.theflyingbirds.net/api/auth/github/handler/frame
catalog:
providers:
github:
# the provider ID can be any camelCase string
providerId:
organization: 'theflyingbirdsmc' # string
catalogPath: '/**/catalog-info.yaml' # string
filters:
branch: 'main' # string
repository: '.*' # Regex
schedule: # optional; same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
frequency: { minutes: 20 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }