Since
Step 1. prepare server for deployment
Step 2.Install docker and docker-compose on the server
dnf update -y
dnf install -y dnf-plugins-core
dnf config-manager --add-repo=https://repo.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
cp docker-ce.repo docker-ce.repo.bak
sed -i 's+download. docker.com+repo.huaweicloud.com/docker-ce+' /etc/yum.repos.d/docker-ce.repo
sed -i 's+$releasever+8+' /etc/yum.repos.d/docker-ce.repo
dnf makecache
dnf install -y docker-ce docker-ce-cli containerd.io
dnf install -y docker-compose
dnf install -y docker-compose-plugin
systemcel start docker
systemctl enable docker
Step 3. Download primero package from github and unpack it on the server
cd /srv
wget --no-check-certificate https://github.com/primeroIMS/primero/archive/refs/tags/v2.10.2.1.tar.gz
tar -zxvf v2.10.2.1.tar.gz