Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0e118fe6
Unverified
Commit
0e118fe6
authored
Apr 05, 2024
by
HaoTian Qi
Committed by
GitHub
Apr 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: agent volume in example docker compose (#9838)
Signed-off-by:
117503445
<
t117503445@gmail.com
>
parent
f2961fb5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
docker-compose.yml
docker-compose.yml
+3
-1
No files found.
docker-compose.yml
View file @
0e118fe6
# to run define K3S_TOKEN, K3S_VERSION is optional, eg:
# to run define K3S_TOKEN, K3S_VERSION is optional, eg:
# K3S_TOKEN=${RANDOM}${RANDOM}${RANDOM} docker-compose up
# K3S_TOKEN=${RANDOM}${RANDOM}${RANDOM} docker-compose up
version
:
'
3'
services
:
services
:
server
:
server
:
...
@@ -45,6 +44,9 @@ services:
...
@@ -45,6 +44,9 @@ services:
environment
:
environment
:
-
K3S_URL=https://server:6443
-
K3S_URL=https://server:6443
-
K3S_TOKEN=${K3S_TOKEN:?err}
-
K3S_TOKEN=${K3S_TOKEN:?err}
volumes
:
-
k3s-agent:/var/lib/rancher/k3s
volumes
:
volumes
:
k3s-server
:
{}
k3s-server
:
{}
k3s-agent
:
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment