-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathconfig.yml
58 lines (50 loc) · 851 Bytes
/
config.yml
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
53
54
55
56
57
58
#application
app:
environment: dev
http_port: 4000
#graceful shutdown
graceful_shutdown:
enabled: true
timeout: 10 # second
#db
mongodb:
hosts: localhost:27017
db_name: rest_api_development
username: guest
password: guest
timeout: 10
dial_timeout: 10
pool_size: 10
auth_source:
replica_set:
uri:
mongo_base_repo:
enabled_newrelic_tracer: true
mysqldb:
driver: mysql
db_name: golang_restful_api_sample
db_host: localhost:3306
dial_timeout: 10
max_idle_conns: 10
max_open_conns: 10
conn_max_life_time:
username: root
password: root
ssl_mode:
uri:
sql_base_repo:
enabled_newrelic_tracer: true
# log
log:
log_level: info
log_file: log/rest_api.log
log_rotation: true
log_format: json
nr_tracer:
enabled: false
name: golagnRestfulAPISample
license: ""
swagger:
host: "localhost:3030"
version: v1
base_path: /