Skip to content

Commit ef7685a

Browse files
Fix redhat-developer#477: Config changes so that the backend starts without additional configurations (redhat-developer#497)
Signed-off-by: Christoph Jerolimov <[email protected]>
1 parent 99c42b5 commit ef7685a

4 files changed

+19
-5
lines changed

app-config.example.production.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ app:
33
baseUrl: http://localhost:7007
44

55
backend:
6+
# Required for authentication. This secret is shared by all backend plugins.
7+
# See https://backstage.io/docs/auth/service-to-service-auth for
8+
# information on the format
9+
# auth:
10+
# keys:
11+
# - secret: ${BACKEND_AUTH_SECRET}
612
# Note that the baseUrl should be the URL that the browser and other clients
713
# should use when communicating with the backend, i.e. it needs to be
814
# reachable not just from within the backend host, but from all of your

app-config.example.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ backend:
3030
connection: ':memory:'
3131

3232
proxy:
33-
endpoints: []
33+
skipInvalidProxies: true
34+
endpoints: {}
3435

3536
integrations:
3637
github:

app-config.production.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ app:
33
baseUrl: http://localhost:7007
44

55
backend:
6+
# Required for authentication. This secret is shared by all backend plugins.
7+
# See https://backstage.io/docs/auth/service-to-service-auth for
8+
# information on the format
9+
# auth:
10+
# keys:
11+
# - secret: ${BACKEND_AUTH_SECRET}
612
# Note that the baseUrl should be the URL that the browser and other clients
713
# should use when communicating with the backend, i.e. it needs to be
814
# reachable not just from within the backend host, but from all of your

app-config.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ organization:
1212
name: My Org
1313

1414
backend:
15-
# Used for enabling authentication, secret is shared by all backend plugins
15+
# Required for authentication. This secret is shared by all backend plugins.
16+
# In development mode a temporary secret is automatically created.
1617
# See https://backstage.io/docs/auth/service-to-service-auth for
1718
# information on the format
18-
auth:
19-
keys:
20-
- secret: ${BACKEND_AUTH_SECRET}
19+
# auth:
20+
# keys:
21+
# - secret: ${BACKEND_AUTH_SECRET}
2122
baseUrl: http://localhost:7007
2223
listen:
2324
port: 7007

0 commit comments

Comments
 (0)