Skip to content

Commit

Permalink
Fix #477: Config changes so that the backend starts without additiona…
Browse files Browse the repository at this point in the history
…l configurations (#497)

Signed-off-by: Christoph Jerolimov <jerolimov+github@redhat.com>
  • Loading branch information
christoph-jerolimov authored Sep 8, 2023
1 parent 99c42b5 commit ef7685a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
6 changes: 6 additions & 0 deletions app-config.example.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ app:
baseUrl: http://localhost:7007

backend:
# Required for authentication. This secret is shared by all backend plugins.
# See https://backstage.io/docs/auth/service-to-service-auth for
# information on the format
# auth:
# keys:
# - secret: ${BACKEND_AUTH_SECRET}
# 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
Expand Down
3 changes: 2 additions & 1 deletion app-config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ backend:
connection: ':memory:'

proxy:
endpoints: []
skipInvalidProxies: true
endpoints: {}

integrations:
github:
Expand Down
6 changes: 6 additions & 0 deletions app-config.production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ app:
baseUrl: http://localhost:7007

backend:
# Required for authentication. This secret is shared by all backend plugins.
# See https://backstage.io/docs/auth/service-to-service-auth for
# information on the format
# auth:
# keys:
# - secret: ${BACKEND_AUTH_SECRET}
# 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
Expand Down
9 changes: 5 additions & 4 deletions app-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ organization:
name: My Org

backend:
# Used for enabling authentication, secret is shared by all backend plugins
# Required for authentication. This secret is shared by all backend plugins.
# In development mode a temporary secret is automatically created.
# See https://backstage.io/docs/auth/service-to-service-auth for
# information on the format
auth:
keys:
- secret: ${BACKEND_AUTH_SECRET}
# auth:
# keys:
# - secret: ${BACKEND_AUTH_SECRET}
baseUrl: http://localhost:7007
listen:
port: 7007
Expand Down

0 comments on commit ef7685a

Please # to comment.