cd /home/myusername/docker/
mkdir -p kubernetes/rancher && cd kubernetes/rancher
version: "3.8"
services:
rancher:
image: rancher/rancher:latest
container_name: rancher
restart: unless-stopped
ports:
- 9100:80
- 9101:443
environment:
- SERVER_NAME=server_name_here # Example: 192.168.1.100 or rancher.arcadeparty.lan
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/var/lib/rancher
- ./config:/etc/rancher
- ./logs:/var/log/rancher
The following commands are meant for Debian/Ubuntu Please visit the helm website if you need to install helm on a different system https://helm.sh/docs/intro/install/
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt update
sudo apt install helm
helm repo add bitnami https://charts.bitnami.com/bitnami