1
|
VERSION=1.0b
|
2
|
APPID=1795
|
3
|
BASEIMAGE=ubuntu-focal.1.0b.master.qcow2
|
4
|
DATAIMAGE=20G
|
5
|
DATAIMAGEFS=xfs
|
6
|
STORAGEPOOL2=-1
|
7
|
REBASE=0
|
8
|
INSTANCES=3
|
9
|
BASESUITE=
|
10
|
SIZE=
|
11
|
NAME=mongodb
|
12
|
APPNAME=Mongodb
|
13
|
DIR=files
|
14
|
DIRTARGET=/tmp
|
15
|
TAR=
|
16
|
TARTARGET=
|
17
|
GIT=https://github.com/SamuelTallet/MongoDB-PHP-GUI
|
18
|
GITTARGET=/var/www/mongodb-php-gui
|
19
|
PRICE=-700
|
20
|
DEBS=php-mongodb default-jre iptables-persistent mongodb-org composer iozone3
|
21
|
PREEXEC=/tmp/files/preexec.sh
|
22
|
POSTEXEC=/tmp/files/postexec.sh
|
23
|
SERVICE=
|
24
|
TERMINALLINK=/stabile/pipe/http://{uuid}:4200
|
25
|
MANAGEMENTLINK=/stabile/pipe/http://{uuid}:10000/stabile/
|
26
|
MEMORY=4096
|
27
|
VCPU=2
|
28
|
LOGO=https://www.stabile.io/images/apps/logo-mongodb.png
|
29
|
THUMBNAIL=https://www.stabile.io/images/apps/logo-mongodb.png
|
30
|
SUMMARY=3-node MongoDB sharded cluster running on Ubuntu. Simply add nodes to scale.
|
31
|
DESCRIPTION=<section>\
|
32
|
<p style="margin-bottom:20px;">\
|
33
|
Mongo is a lean stack that installs a sharded MongoDB 4 cluster on 3 Ubuntu VM's (we'll be happy to do a Mongo5 version if anyone asks).<br>\
|
34
|
This stack is basically an automation of the steps described in: <a target="_blank" href="https://www.mongodb.com/docs/manual/tutorial/deploy-sharded-cluster-with-keyfile-access-control/">https://www.mongodb.com/docs/manual/tutorial/deploy-sharded-cluster-with-keyfile-access-control/</a> .<br>\
|
35
|
The VM's are configured as 1 config server, 1 query router and 1 shard server.<br>\
|
36
|
To add more shard servers to your cluster, simply add servers from the "servers" tab - they will automatically join the cluster.<br>\
|
37
|
None of the servers are configured with redundant replicas, i.e. there is only one replica in each replica set, which should obviously be corrected, before using this stack in a critical production environment.<br>\
|
38
|
The stack also installs the excellent <a target="_blank" href="https://github.com/SamuelTallet/MongoDB-PHP-GUI">MongoDB PHP GUI</a> by Samuel Tallet.\
|
39
|
</p>\
|
40
|
</section>\
|
41
|
<hr>\
|
42
|
<div style="margin-top:20px;"><a href="https://pub.origo.io/support/projects/stabile-support/boards" target="_blank">Support and discussion</a></div>\
|
43
|
<div><a href="https://gitlab.origo.io/origosys/stabile-stacks/-/tree/master/mongodb" target="_blank">Stack source code</a></div>
|