diff --git a/app-config.production.yaml b/app-config.production.yaml index 444b9aa..35d37e5 100644 --- a/app-config.production.yaml +++ b/app-config.production.yaml @@ -1,36 +1,42 @@ -#app: -# title: ${ORG_NAME} - # Should be the same as backend.baseUrl when using the `app-backend` plugin. -# baseUrl: ${BASE_URL} - -#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: ${BASE_URL} - # The listener can also be expressed as a single : string. In this case we bind to - # all interfaces, the most permissive setting. The right value depends on your specific deployment. -# listen: ':7007' - - # 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: /ca/server.crt +app: + title: ${ORG_NAME} + baseUrl: ${BASE_URL} +organization: + name: ${ORG_NAME} +backend: + baseUrl: ${BASE_URL} +#integrations: +# github: +# - host: github.com +# # 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 +# apps: +# - appId: ${APP_ID} +# clientId: ${CLIENT_ID} +# clientSecret: ${CLIENT_SECRET} +# webhookSecret: ${WEBHOOK_SECRET} +# privateKey: ${PRIVATE_KEY} +#auth: +# # see https://backstage.io/docs/auth/ to learn about auth providers +# environment: production +# providers: +# github: +# production: +# clientId: ${CLIENT_ID} +# clientSecret: ${CLIENT_SECRET} #catalog: - # Overrides the default list locations from app-config.yaml as these contain example data. - # See https://backstage.io/docs/features/software-catalog/#adding-components-to-the-catalog for more details - # on how to get entities into the catalog. -# locations: [] +# import: +# entityFilename: catalog-info.yaml +# pullRequestBranchName: backstage-integration +# rules: +# - allow: [Component, System, API, Resource, Location] +# providers: +# github: +# default: +# organization: ${GITHUB_ORG} # string +# schedule: # optional; same options as in TaskScheduleDefinition +# # supports cron, ISO duration, "human duration" as used in code +# frequency: { minutes: 30 } +# # supports ISO duration, "human duration" as used in code +# timeout: { minutes: 3 } diff --git a/app-config.yaml b/app-config.yaml index e69d3d1..58a1aba 100644 --- a/app-config.yaml +++ b/app-config.yaml @@ -1,9 +1,9 @@ app: - title: ${ORG_NAME} - baseUrl: ${BASE_URL} + title: default title + baseUrl: http://localhost:3000 organization: - name: ${ORG_NAME} + name: default org name backend: # Used for enabling authentication, secret is shared by all backend plugins @@ -12,7 +12,7 @@ backend: # auth: # keys: # - secret: ${BACKEND_SECRET} - baseUrl: ${BASE_URL} + baseUrl: http://localhost:7007 listen: port: 7007 # Uncomment the following host directive to bind to specific interfaces @@ -65,7 +65,7 @@ proxy: techdocs: builder: 'local' # Alternatives - 'external' generator: - runIn: 'local' # Alternatives - 'local' + runIn: 'docker' # Alternatives - 'local' publisher: type: 'local' # Alternatives - 'googleGcs' or 'awsS3'. Read documentation for using alternatives. @@ -119,7 +119,7 @@ kubernetes: clusterLocatorMethods: - type: 'config' clusters: - - url: ${CLUSTER_URL} + - url: "http://kubernetes.default.svc" name: core-prod authProvider: 'serviceAccount' skipMetricsLookup: false