Skip to main content

Woodpecker Agent

flagenvdefault
--serverWOODPECKER_SERVERwoodpecker:9000
--grpc-usernameWOODPECKER_USERNAMEx-oauth-basic
--grpc-passwordWOODPECKER_AGENT_SECRET
--grpc-secureWOODPECKER_GRPC_SECUREfalse
--grpc-skip-insecureWOODPECKER_GRPC_VERIFYtrue
--log-levelWOODPECKER_LOG_LEVELtrace
--prettyWOODPECKER_DEBUG_PRETTYtrue
--nocolorWOODPECKER_DEBUG_NOCOLORtrue
--hostnameWOODPECKER_HOSTNAME
--filterWOODPECKER_FILTER_LABELS
--max-procsWOODPECKER_MAX_WORKFLOWS10
--healthcheckWOODPECKER_HEALTHCHECKtrue
--keepalive-timeWOODPECKER_KEEPALIVE_TIME0s
--keepalive-timeoutWOODPECKER_KEEPALIVE_TIMEOUT20s
--backend-engineWOODPECKER_BACKENDauto-detect

Docker

  • agent 直接通过 sock 调用 docker 进行操作
WOODPECKER_BACKEND_DOCKER_NETWORK=
WOODPECKER_BACKEND_DOCKER_ENABLE_IPV6=false
WOODPECKER_BACKEND_DOCKER_VOLUMES=/etc/ssl/certs:/etc/ssl/certs:ro,/etc/timezone:/etc/timezone
WOODPECKER_DOCKER_CONFIG=
# 用于支持 podman
DOCKER_SOCK=

FAQ

docker network mtu