Unverified Commit 0e118fe6 authored by HaoTian Qi's avatar HaoTian Qi Committed by GitHub

fix: agent volume in example docker compose (#9838)

parent f2961fb5
# to run define K3S_TOKEN, K3S_VERSION is optional, eg:
# K3S_TOKEN=${RANDOM}${RANDOM}${RANDOM} docker-compose up
version: '3'
services:
server:
......@@ -45,6 +44,9 @@ services:
environment:
- K3S_URL=https://server:6443
- K3S_TOKEN=${K3S_TOKEN:?err}
volumes:
- k3s-agent:/var/lib/rancher/k3s
volumes:
k3s-server: {}
k3s-agent: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment