forked from procore-oss/backstage-plugin-announcements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-config.yaml
38 lines (35 loc) · 894 Bytes
/
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
app:
title: Announcements Dev App
baseUrl: http://localhost:3000
permission:
enabled: true
backend:
baseUrl: http://localhost:7007
listen:
port: 7007
database:
# uncomment for sqlite
# client: better-sqlite3
# connection: ':memory:'
client: pg
connection:
host: ${POSTGRES_HOST}
port: ${POSTGRES_POST}
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
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
auth:
providers:
guest: {}