-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.docker.js
More file actions
37 lines (30 loc) · 888 Bytes
/
config.docker.js
File metadata and controls
37 lines (30 loc) · 888 Bytes
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
'use strict';
module.exports = {
db: {
type: 'sqlite',
// Database filename for SQLite
filename: 'data/cpa-service-provider.sqlite',
// For debugging, log SQL statements to the console
debug: true
},
authorization_provider: {
name: 'Example Auth Provider',
authorization_uri: process.env.CPA_AUTH_PROVIDER_URL + '/authorized',
base_uri: process.env.CPA_AUTH_PROVIDER_URL,
modes: ['client', 'user'],
// Access token for making authenticated requests to the authorization
// provider
access_token: 'b4949eba147f4cf88985b43c039cd05b'
},
service_provider: {
name: 'Example Service Provider',
domain: process.env.CPA_SERVICE_PROVIDER_DOMAIN
},
// Cross-origin resource sharing
cors: {
enabled: true,
allowed_domains: [
process.env.CPA_CLIENT_URL
]
}
};