2024-08-30 22:22:48 +00:00
|
|
|
services:
|
2024-09-02 20:10:32 +00:00
|
|
|
k3s:
|
|
|
|
image: rancher/k3s:v1.30.4-k3s1
|
|
|
|
command:
|
|
|
|
- server
|
|
|
|
- --disable=traefik
|
|
|
|
- --tls-san=k8s.smsvc.net
|
2024-08-30 22:22:48 +00:00
|
|
|
hostname: k8s.smsvc.net
|
2024-09-02 20:10:32 +00:00
|
|
|
restart: always
|
2024-08-30 22:22:48 +00:00
|
|
|
privileged: true
|
|
|
|
cgroup: host
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
2024-09-02 20:10:32 +00:00
|
|
|
- k3s-data:/var/lib/rancher/k3s/
|
|
|
|
- k3s-run:/run/
|
2024-09-03 15:52:20 +00:00
|
|
|
- ./argocd-bootstrap/:/var/lib/rancher/k3s/server/manifests/argocd-bootstrap/
|
2024-08-30 22:22:48 +00:00
|
|
|
|
|
|
|
volumes:
|
2024-09-02 20:10:32 +00:00
|
|
|
k3s-data:
|
|
|
|
k3s-run:
|