forked from drodil/backstage-plugin-toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-config.yaml
42 lines (40 loc) · 1.08 KB
/
app-config.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
app:
title: Toolbox Dev App
baseUrl: http://localhost:3000
backend:
baseUrl: http://localhost:7007
listen:
port: 7007
database:
# client: better-sqlite3 # Use this if you don't have docker
# connection: ':memory:'
client: pg
connection:
host: localhost
port: 5432
user: postgres
password: postgres
knexConfig:
pool:
min: 15
max: 30
acquireTimeoutMillis: 60000
createTimeoutMillis: 30000
destroyTimeoutMillis: 5000
idleTimeoutMillis: 60000
reapIntervalMillis: 1000
createRetryIntervalMillis: 200
propagateCreateError: false
cache:
store: memory
cors:
origin: http://localhost:3000
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
csp:
connect-src: ["'self'", 'http:', 'https:']
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
reading:
allow:
- host: localhost