100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Make arm runabble on 512M RAM
Michal Rutka25d33e3364e5
diff --git a/gitlab-ci/aws-cloudformation.template.arm64.yml b/gitlab-ci/aws-cloudformation.template.arm64.ymlindex 6dacf8ab1..ec3439d7c 100644--- a/gitlab-ci/aws-cloudformation.template.arm64.yml+++ b/gitlab-ci/aws-cloudformation.template.arm64.yml@@ -76,6 +76,14 @@ Resources:UserData:Fn::Base64: !Sub |#!/bin/bash+ # Create swap file+ sudo fallocate -l 1G /swapfile+ sudo chmod 600 /swapfile+ sudo mkswap /swapfile+ sudo swapon /swapfile+ echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab+ echo vm.swappiness=10 | sudo tee -a /etc/sysctl.conf+ echo vm.vfs_cache_pressure=50 | /etc/sysctl.conf# Install dockersudo groupadd dockersudo gpasswd -a ubuntu docker@@ -84,7 +92,6 @@ Resources:cd /home/ubuntu # we need this because on arm docker-compose cannot read /wget https://github.com/openremote/openremote/raw/master/profile/deploy-no-build.ymlwget https://github.com/openremote/openremote/raw/master/profile/demo-basic-no-build.yml- ls -laif [ ${HostName} ] && [ ${DomainName} ]thenexport DOMAINNAME=${HostName}.${DomainName}