forked from mendersoftware/inventory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
42 lines (34 loc) · 1.22 KB
/
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
39
40
# API server listen address
# Defauls to: ":8080" which will listen on all avalable interfaces.
listen: :8080
# Database configuration
# MongoDB is required to run the service
# Format: [mongodb://][user:pass@]host1[:port1][,host2[:port2],...][?options]
# Format doc: https://docs.mongodb.com/manual/reference/connection-string/
# Defaults to: "mongo-inventory"
mongo: mongo-inventory:27017
# Enable SSL for mongo connections
# Defaults to: false
# mongo_ssl: false
# SkipVerify controls whether a mongo client verifies the
# server's certificate chain and host name.
# If InsecureSkipVerify is true, accepts any certificate
# presented by the server and any host name in that certificate.
# Defaults to: false
# mongo_ssl_skipverify: false
# Mongodb username
# Overwrites username set in connection string.
# Defaults to: none
# mongo_username: user
# Mongodb password
# Overwrites password set in connection string.
# Defaults to: none
# mongo_password: secret
# HTTP Server middleware environment
# Available values:
# dev
# development environment
# prod
# production environment
# Defaults to: prod
# middleware: dev