Docker to automatically restart woodpecker agent after reboot
This commit is contained in:
parent
a26b698f95
commit
7737abfd03
@ -90,6 +90,7 @@ Add these environment variables to enable GitLab in Woodpecker.
|
|||||||
-e WOODPECKER_MAX_PROCS=(number of parallel builds, def: 1) \
|
-e WOODPECKER_MAX_PROCS=(number of parallel builds, def: 1) \
|
||||||
-e WOODPECKER_GRPC_SECURE=true \
|
-e WOODPECKER_GRPC_SECURE=true \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
--restart unless-stopped \
|
||||||
-d docker.io/woodpeckerci/woodpecker-agent:latest
|
-d docker.io/woodpeckerci/woodpecker-agent:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user