-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yaml
128 lines (128 loc) · 3.75 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
options:
version:
default: "archive"
type: string
description: The version of MongoDB to install. By default the version from the Ubuntu Archive is installed. However, any upstream version since 2.0 can be installed if the exact version string is set.
dbpath:
default: "/var/lib/mongodb"
type: string
description: The path where the data files will be kept.
logpath:
default: "/var/log/mongodb/mongodb.log"
type: string
description: The path where to send log data.
logappend:
default: True
type: boolean
description: Append log entries to existing log file
logrotate-frequency:
default: daily
type: string
description: How often should the logs be rotated. Use values from logrotate.
logrotate-rotate:
default: 5
type: int
description: Number of log files to keep.
logrotate-maxsize:
default: 500M
type: string
description: Maximum log size before rotating.
bind_ip:
default: "0.0.0.0"
type: string
description: IP address that mongodb should listen for connections.
port:
default: 27017
type: int
description: Default MongoDB port
journal:
default: True
type: boolean
description: Enable journaling, http://www.mongodb.org/display/DOCS/Journaling
cpu:
default: False
type: boolean
description: Enables periodic logging of CPU utilization and I/O wait
auth:
default: False
type: boolean
description: Turn on/off security
#verbose:
# TODO: need to transform this into "v"'s for config
#default: False
#type: boolean
#description: Verbose logging output
objcheck:
default: False
type: boolean
description: Inspect all client data for validity on receipt (useful for developing drivers)
quota:
default: False
type: boolean
description: Enable db quota management
diaglog:
default: 0
type: int
description: Set oplogging level where n is 0=off (default), 1=W, 2=R, 3=both, 7=W+some reads
nocursors:
default: False
type: boolean
description: Diagnostic/debugging option
nohints:
default: False
type: boolean
description: Ignore query hints
noscripting:
default: False
type: boolean
description: Turns off server-side scripting. This will result in greatly limited functionality
notablescan:
default: False
type: boolean
description: Turns off table scans. Any query that would do a table scan fails
noprealloc:
default: False
type: boolean
description: Disable data file preallocation
nssize:
type: string
description: Specify .ns file size for new databases
# TODO: these mms-* options don't work on 2.6
#mms-token:
#default: "disabled"
#type: string
#description: Accout token for Mongo monitoring server
#mms-name:
#default: "disabled"
#type: string
#description: Server name for Mongo monitoring server
#mms-interval:
#default: "disabled"
#type: string
#description: Ping interval for Mongo monitoring server ( in number of seconds )
oplogSize:
type: string
description: Custom size for replication operation log
opIdMem:
type: string
description: Size limit for in-memory storage of op ids
replicaset:
default: myset
type: string
description: Name of the replica set
web_admin_ui:
default: True
type: boolean
description: Replica Set Admin UI (accessible via default_port + 1000)
backups_enabled:
default: False
type: boolean
description: Enable daily backups to disk.
backup_directory:
default: "/home/ubuntu/backups"
type: string
description: Where can the backups be found.
backup_copies_kept:
default: 7
type: int
description: "Number of backups to keep. Keeps one week's worth by default."