Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniele Tricoli 0fb66ec4d4 Bump agent to 0.15.9 4 weeks ago
Dockerfile Bump agent to 0.15.9 4 weeks ago
README.md Add network section 6 months ago





dokku apps:create woodpecker-agent

dokku config:set woodpecker-agent --no-restart WOODPECKER_SERVER=woodpecker.web.1:9000
dokku config:set woodpecker-agent --no-restart WOODPECKER_AGENT_SECRET=<secret>

dokku storage:mount woodpecker-agent /var/run/docker.sock:/var/run/docker.sock

git push dokku main:main


Set the agent in the same network of the server:

dokku network:set woodpecker-agent attach-post-create woodpecker-network

and use the container name in WOODPECKER_SERVER variable, so if the dokku app of the server is called woodpecker, you will have to set it to woodpecker.web.1:9000 where woodpecker.web.1 is the default name of the container used by dokku and 9000 is the default port for GRPC.