-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-example.yaml
37 lines (35 loc) · 848 Bytes
/
default-example.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
server:
protocol: https
hostname: ${API_HOSTNAME}
port: ${PORT}
adminPort: ${ADMIN_PORT}
basePathPrefix: /api
keyPath: /path/to/key.pem
certPath: /path/to/server.crt
secureProtocol: TLSv1_2_method
authentication:
username: ${USER}
password: ${PASSWD}
dataSources:
dataSources: ['json', 'oracledb', 'awsS3', 'http']
json:
dbPath: 'mock-db/mock-data.json'
oracledb:
connectString: ${DB_URL}
user: ${DB_USER}
password: ${DB_PASSWD}
poolMin: 4
poolMax: 4
poolIncrement: 0
awsS3:
bucket: bucketName
apiVersion: '2006-03-01'
accessKeyId: ${ACCESS_KEY_ID}
secretAccessKey: ${SECRET_ACCESS_KEY}
region: us-west-2
# These values are for local or proxy S3 instances
endpoint: null
s3ForcePathStyle: false
http:
baseUri: https://api.example.com
headers: null