-
Notifications
You must be signed in to change notification settings - Fork 4
/
boot.yaml
54 lines (52 loc) · 1.37 KB
/
boot.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
42
43
44
45
46
47
48
49
50
51
52
---
gin:
- name: user-service
port: 8080
enabled: true
mongo:
- name: "my-mongo" # Required
enabled: true # Required
simpleURI: "mongodb://localhost:27017" # Required
database:
- name: "users" # Required
# pingTimeoutMs: 3000 # Optional
# description: "description"
# certEntry: ""
# loggerEntry: ""
# # Belongs to mongoDB client options
# # Please refer to https://github.com/mongodb/mongo-go-driver/blob/master/mongo/options/clientoptions.go
# appName: ""
# auth:
# mechanism: ""
# mechanismProperties:
# a: b
# source: ""
# username: ""
# password: ""
# passwordSet: false
# connectTimeoutMs: 500
# compressors: []
# direct: false
# disableOCSPEndpointCheck: false
# heartbeatIntervalMs: 10
# hosts: []
# loadBalanced: false
# localThresholdMs: 1
# maxConnIdleTimeMs: 1
# maxPoolSize: 1
# minPoolSize: 1
# maxConnecting: 1
# replicaSet: ""
# retryReads: false
# retryWrites: false
# serverAPIOptions:
# serverAPIVersion: ""
# strict: false
# deprecationErrors: false
# serverSelectionTimeoutMs: 1
# socketTimeout: 1
# srvMaxHots: 1
# srvServiceName: ""
# zlibLevel: 1
# zstdLevel: 1
# authenticateToAnything: false