Skip to content

Commit 7ae6e4a

Browse files
committed
UPD: fix errors
1 parent b52dfff commit 7ae6e4a

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ ARG APP_ENV
120120
COPY --chown=node:node app-config.yaml ./
121121
COPY --chown=node:node app-config.docker.yaml ./app-config.docker.yaml
122122
COPY --chown=node:node app-config.${APP_ENV}.yaml ./app-config.env.yaml
123-
COPY --chown=node:node app-config.production.yaml ./app-config.production.yaml
124123

125124
# This will include the examples, if you don't need these simply remove this line
126125
COPY --chown=node:node examples ./examples

app-config.production.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,4 @@ backend:
66
cors:
77
origin: https://backstage.foundations-software-engineering.com
88
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
9-
credentials: true
10-
11-
auth:
12-
environment: production
13-
providers:
14-
github:
15-
production:
16-
clientId: ${PROD_GITHUB_CLIENT_ID}
17-
clientSecret: ${PROD_GITHUB_CLIENT_SECRET}
9+
credentials: true

app-config.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,8 @@ backend:
2323
port: ${POSTGRES_PORT}
2424
user: ${POSTGRES_USER}
2525
password: ${POSTGRES_PASSWORD}
26-
knexConfig:
27-
pool:
28-
min: 15
29-
max: 30
30-
acquireTimeoutMillis: 60000
31-
createTimeoutMillis: 30000
32-
destroyTimeoutMillis: 5000
33-
idleTimeoutMillis: 60000
34-
reapIntervalMillis: 1000
35-
createRetryIntervalMillis: 200
36-
propagateCreateError: false
26+
cache:
27+
store: memory
3728

3829
integrations:
3930
github:
@@ -87,9 +78,12 @@ auth:
8778
development:
8879
clientId: ${GOOGLE_CLIENT_ID}
8980
clientSecret: ${GOOGLE_CLIENT_SECRET}
90-
81+
9182
github:
9283
development:
9384
clientId: ${GITHUB_CLIENT_ID}
9485
clientSecret: ${GITHUB_CLIENT_SECRET}
86+
production:
87+
clientId: ${PROD_GITHUB_CLIENT_ID}
88+
clientSecret: ${PROD_GITHUB_CLIENT_SECRET}
9589

0 commit comments

Comments
 (0)