issues focused on Virtual machine ecosystem and developing core set of SW
Go to file
2018-04-09 15:20:20 +02:00
.gitlab/issue_templates Add GitLab issue template 2017-09-03 15:28:53 +02:00
activemq Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
basic Introduce FrontlineSMS Docker image, closes #151 2018-03-30 21:58:44 +02:00
ccleanup Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
ckan Check container status before running cron jobs 2018-04-09 15:20:20 +02:00
ckandp Shorten CKAN Datapusher handle 2018-03-26 15:08:03 +02:00
cts Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
flsms Introduce FrontlineSMS Docker image, closes #151 2018-03-30 21:58:44 +02:00
gnuhealth Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
java Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
kanboard Check container status before running cron jobs 2018-04-09 15:20:20 +02:00
mariadb Make a proper conf mount for MariaDB 2018-01-27 14:13:59 +01:00
mifosx Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
motech Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
odk Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
odkbuild Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
omk Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
pandora Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
postfix Upgrade Postfix to 3.3, supporting foreground start 2018-04-05 14:04:28 +02:00
postgres Use explicit @edge repository tag where applicable 2018-04-05 14:05:22 +02:00
rabbitmq Use explicit @edge repository tag where applicable 2018-04-05 14:05:22 +02:00
redis Make a proper conf mount for Redis 2018-01-27 14:31:11 +01:00
ruby Introduce separate Docker image for Ruby 2.3.6 runtime 2018-03-16 17:27:13 +01:00
sahana Update Czech Sahana translation 2018-03-30 21:58:19 +02:00
sahana-demo Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
sambro Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
seeddms Check container status before running cron jobs 2018-04-09 15:20:20 +02:00
sigmah Make spotter-appmgr update proxy target IP directly in nginx 2018-03-26 21:12:48 +02:00
solr Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
tomcat Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
ushahidi Check container status before running cron jobs 2018-04-09 15:20:20 +02:00
00-install.sh Introduce FrontlineSMS Docker image, closes #151 2018-03-30 21:58:44 +02:00
activemq.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
alpine.sh Introduce spotter-appmgr for application, domain and port management 2018-03-25 22:47:19 +02:00
basic.sh Introduce acme.sh Let's Encrypt client 2018-03-25 22:50:18 +02:00
ccleanup.sh Shorten CrisisClenup handle 2018-03-26 15:07:40 +02:00
ckan.sh Shorten CKAN Datapusher handle 2018-03-26 15:08:03 +02:00
ckandp.sh Shorten CKAN Datapusher handle 2018-03-26 15:08:03 +02:00
cts.sh Unify CTS naming and nginx configuration for spotter-appmgr 2018-03-25 23:09:53 +02:00
flsms.sh Introduce FrontlineSMS Docker image, closes #151 2018-03-30 21:58:44 +02:00
gnuhealth.sh Update GNU Health demo data URL 2018-03-25 23:11:44 +02:00
java.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
kanboard.sh Unify KanBoard naming and nginx configuration for spotter-appmgr 2018-03-25 23:12:13 +02:00
mariadb.sh Move all Docker containers to default runlevel 2018-02-06 21:54:11 +01:00
mifosx.sh Unify MifosX naming and nginx configuration for spotter-appmgr 2018-03-26 13:36:48 +02:00
motech.sh Use Motech IP in install script instead of hostname 2018-03-27 16:27:09 +02:00
odk.sh Shorten ODK Aggregate handle 2018-03-26 15:27:48 +02:00
odkbuild.sh Shorten ODK Build handle 2018-03-26 15:08:16 +02:00
omk.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
pandora.sh Unify Pandora naming and nginx configuration for spotter-appmgr 2018-03-25 23:18:24 +02:00
postfix.sh Move all Docker containers to default runlevel 2018-02-06 21:54:11 +01:00
postgres.sh Move all Docker containers to default runlevel 2018-02-06 21:54:11 +01:00
rabbitmq.sh Move all Docker containers to default runlevel 2018-02-06 21:54:11 +01:00
README.md Introduce FrontlineSMS Docker image, closes #151 2018-03-30 21:58:44 +02:00
redis.sh Move all Docker containers to default runlevel 2018-02-06 21:54:11 +01:00
ruby.sh Introduce separate Docker image for Ruby 2.3.6 runtime 2018-03-16 17:27:13 +01:00
sahana-demo.sh Unify Sahana Demo naming and nginx configuration for spotter-appmgr 2018-03-25 23:20:08 +02:00
sahana.sh Unify Sahana naming and nginx configuration for spotter-appmgr 2018-03-25 23:19:45 +02:00
sambro.sh Unify SAMBRO naming and nginx configuration for spotter-appmgr 2018-03-25 23:20:34 +02:00
seeddms.sh Unify SeedDMS naming and nginx configuration for spotter-appmgr 2018-03-25 23:20:57 +02:00
sigmah.sh Unify Sigmah naming and nginx configuration for spotter-appmgr 2018-03-25 23:21:24 +02:00
solr.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
tomcat.sh Introduce a separate Java image and base all Java apps on it 2018-03-30 21:58:04 +02:00
ushahidi.sh Unify Ushahidi naming and nginx configuration for spotter-appmgr 2018-03-25 23:21:54 +02:00
zz-cleanup.sh Set --no-cache even for apk del as @tags confuse cache 2018-01-29 16:47:27 +01:00

This is the main repository containing all installation scripts, configuration and customization of operating system all application present in Spotter Cluster virtual machine.

Virtual machine specifications

  • Memory: 4 GB
  • CPU: 1 processor, 2 cores
  • Hard Disk: SCSI, 60 GB

Operating system installation

Download Alpine Virtual 3.7.0 x86_64 from https://alpinelinux.org/downloads/ and boot from it. At the login prompt, use the root user without password to log in.

# Set up interfaces (leave the default choices)
setup-interfaces
ifup eth0

# Download and launch the setup script  
wget dl.dasm.cz/alpine.sh
sh alpine.sh

The script will perform the bare Alpine linux installation into VM using LUKS-on-LVM. The default disk encryption password is password. No root password is set.

Application installation

First time setup

# Install git
apk --no-cache add git

# Clone the repository
git clone https://gitlab.dasm.cz:8443/Spotter-Cluster/Spotter-Cluster.git

# Enter the repository directory
cd Spotter-Cluster

# Optional: Edit the install sequence script
vi 00-install.sh

# Launch the script
./00-install.sh

Resuming from a snapshot

Assumes that the repository has already been cloned.

# Enter the repository directory
cd Spotter-Cluster

# Update repository
git pull

# Optional: Edit the install sequence script
vi 00-install.sh

# Launch the script
./00-install.sh

Host assignment

Application Host UID/GID Internal Port
ActiveMQ activemq 61616 61616 (ActiveMQ)
CKAN ckan 8003 8080 (HTTP)
CKAN Datapusher ckandp 8004 8080 (HTTP)
Crisis Cleanup ccleanup 8005 8080 (HTTP)
CTS cts 8006 8080 (HTTP)
FrontlineSMS flsms 8018 8080 (HTTP)
GNU Health gnuhealth 8008 8080 (HTTP)
KanBoard kanboard 8009 8080 (HTTP)
MariaDB mariadb 3306 3306 (MySQL)
Mifos X mifosx 8012 8080 (HTTP)
Motech motech 8013 8080 (HTTP)
ODK Aggregate odk 8015 8080 (HTTP)
ODK Build odkbuild 8017 8080 (HTTP)
OpenMapKit omk 8007 8080 (HTTP)
Pan.do/ra pandora 8002 8080 (HTTP)
Postfix postfix 587 25 (SMTP)
Postgres postgres 5432 5432 (Postgres)
RabbitMQ rabbitmq 5672 5672 (AMQP)
Redis redis 6379 6379 (Redis)
Sahana sahana 8001 8080 (HTTP)
SAMBRO sambro 8001 8080 (HTTP)
SeedDMS seeddms 8010 8080 (HTTP)
Sigmah sigmah 8011 8080 (HTTP)
Solr solr 8983 8983 (HTTP)
Ushahidi ushahidi 8014 8080 (HTTP)