Docker to automatically restart woodpecker agent after reboot

This commit is contained in:
RealStickman 2022-09-12 14:17:09 +02:00
parent a26b698f95
commit 7737abfd03

View File

@ -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_GRPC_SECURE=true \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart unless-stopped \
-d docker.io/woodpeckerci/woodpecker-agent:latest
```