1
Installation (centos)
Jordan Knott edited this page 2020-09-16 15:17:16 -05:00
# Instructions for brand new install on Centos8
# Add repo for docker
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf makecache
sudo dnf install --nobest docker-ce
# Start and make Docker run on startup
sudo systemctl enable docker.service
sudo systemctl start docker.service
sudo systemctl status docker.service
# Install Git
dnf install git -y
# Install Docker-Compse
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
docker-compose -p taskcafe up -d
# Get Taskcafe
cd /opt
git clone https://github.com/JordanKnott/taskcafe && cd taskcafe
# Install Firewalld (if not installed and wanted)
sudo yum install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewalld
sudo systemctl status firewalld
# Add Firewall Rules (if installed)
firewall-cmd --zone=public --add-masquerade --permanent
firewall-cmd --reload
# Compile and run Taskcafe
docker-compose -p taskcafe up -d
# Verify it's running after 10+ seconds
docker ps
# View docker log if it doesn't stay running
docker ps -a # get the container number
docker logs --tail=50 <container_number>
Written by MatthewEnderle