k3s/docker-compose-agent.yml
Carson Anderson 3b837d7ed2 Update docker-compose files to use 0.5.0
The sample docker-compose yaml documents should use the latest version

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2019-05-06 16:03:36 -06:00

14 lines
445 B
YAML

version: '3'
services:
node:
image: rancher/k3s:v0.5.0
tmpfs:
- /run
- /var/run
privileged: true
environment:
- K3S_URL=https://server:6443
- K3S_CLUSTER_SECRET=somethingtotallyrandom
# Can also use K3S_TOKEN from /var/lib/rancher/k3s/server/node-token instead of K3S_CLUSTER_SECRET
#- K3S_TOKEN=K13849a67fc385fd3c0fa6133a8649d9e717b0258b3b09c87ffc33dae362c12d8c0::node:2e373dca319a0525745fd8b3d8120d9c