baseline/docker-compose.yml

20 lines
439 B
YAML

services:
k3s:
image: rancher/k3s:v1.30.4-k3s1
command:
- server
- --disable=traefik
- --tls-san=k8s.smsvc.net
hostname: k8s.smsvc.net
restart: always
privileged: true
cgroup: host
network_mode: host
volumes:
- k3s-data:/var/lib/rancher/k3s/
- k3s-run:/run/
- ./argocd-bootstrap/:/var/lib/rancher/k3s/server/manifests/argocd-bootstrap/
volumes:
k3s-data:
k3s-run: