mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Add restart policy
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
||||
- /run
|
||||
- /var/run
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- K3S_TOKEN=${K3S_TOKEN:-01DXAEQ4FP5P8JJ9W6VWDPVH2V2a04d254-27a3-4d7e-9599-a0f41a800f4d}
|
||||
- K3S_KUBECONFIG_OUTPUT=/output/kubeconfig.yaml
|
||||
@@ -27,6 +28,7 @@ services:
|
||||
- /run
|
||||
- /var/run
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- K3S_URL=https://server:6443
|
||||
- K3S_TOKEN=${K3S_TOKEN:-01DXAEQ4FP5P8JJ9W6VWDPVH2V2a04d254-27a3-4d7e-9599-a0f41a800f4d}
|
||||
|
||||
Reference in New Issue
Block a user