wiki/howto/windestimation.md
... ...
@@ -37,6 +37,27 @@ gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc" >/etc/yum.repos.d
37 37
yum install -y mongodb-org-server mongodb-org-tools mongodb-org-shell docker
38 38
chown mongod /var/lib/mongo
39 39
chgrp mongod /var/lib/mongo
40
+```
41
+Now adjust the ``/etc/mongod.conf`` file in two places; one to restrict the cache size to limit MongoDB's memory use, and another one to expose MongoDB's default port ``27017`` also to the Docker network:
42
+
43
+```
44
+storage:
45
+ dbPath: /var/lib/mongo
46
+ journal:
47
+ enabled: true
48
++ wiredTiger:
49
++ engineConfig:
50
++ cacheSizeGB: 4
51
+...
52
+net:
53
+ port: 27017
54
+- bindIp: 127.0.0.1
55
++ bindIp: 172.17.0.1,127.0.0.1
56
+```
57
+
58
+Then continue as follows:
59
+
60
+```
40 61
systemctl start mongod
41 62
systemctl start docker
42 63
touch /tmp/windEstimationModels.dat