forked from TIBCOSoftware/tibco-developer-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.production.yaml
97 lines (91 loc) · 3.71 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
app:
title: TIBCO® Developer Hub
# Should be the same as backend.baseUrl when using the `app-backend` plugin.
baseUrl: http://localhost:7007/tibco/hub
support:
url: https://support.tibco.com/s/
items:
- title: 'TIBCO Support Page'
icon: 'email'
links:
- url: 'https://support.tibco.com/s/'
title: 'TIBCO Support'
- title: 'TIBCO Documentation Page'
icon: 'docs'
links:
- url: 'https://docs.tibco.com/go/platform-cp/1.2.0/doc/html#cshid=developer_hub_overview'
title: 'TIBCO® Developer Hub Documentation'
organization:
name: TIBCO Software's
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: http://localhost:7007/tibco/hub
listen:
port: 7007
# The following host directive binds to all IPv4 interfaces when its value
# is "0.0.0.0". This is the most permissive setting. The right value depends
# on your specific deployment. If you remove the host line entirely, the
# backend will bind on the interface that corresponds to the backend.baseUrl
# hostname.
host: 0.0.0.0
csp:
connect-src: ["'self'", 'http:', 'https:']
# config options: https://node-postgres.com/api/client
database:
client: pg
connection:
host: ${POSTGRES_HOST}
port: ${POSTGRES_PORT}
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-backstage-app-credentials.yaml
# This is a Personal Access Token or PAT from GitHub. You can find out how to generate this token, and more information
# about setting up the GitHub integration here: https://backstage.io/docs/getting-started/configuration#setting-up-a-github-integration
token: ${GITHUB_TOKEN}
### Example for how to add your GitHub Enterprise instance using the API:
# - host: ghe.example.net
# apiBaseUrl: https://ghe.example.net/api/v3
# token: ${GHE_TOKEN}
catalog:
locations: []
techdocs:
builder: 'local' # Alternatives - 'external'
generator:
runIn: 'local' # Alternatives - 'local'
# runIn: 'docker' # Alternatives - 'local'
# dockerImage: 'mkdocs:local-dev'
publisher:
type: 'local' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives.
auth:
# see https://backstage.io/docs/auth/ to learn about auth providers
environment: development
# uncomment 3 lines below and add organization name in place of <YOUR-ORG-NAME> to support sign in through gitHub
# signIn:
# github:
# organizations: ['<YOUR-ORG-NAME>']
providers:
oauth2Proxy:
development: {}
enableAuthProviders: [oauth2Proxy]
# Available providers:
# [oauth2Proxy]
scaffolder:
# see https://backstage.io/docs/features/software-templates/configuration for software template options
defaultAuthor:
name: TIBCO® Developer Hub # Defaults to `Scaffolder`
email: test@test.com # Defaults to `scaffolder@backstage.io`
defaultCommitMessage: 'Initial commit' # Defaults to 'Initial commit'