1
0
Fork 0
Go to file
2023-12-27 19:48:55 +01:00
Dockerfile Bump to 2.1.1 2023-12-27 19:48:55 +01:00
README.md Add network section 2022-12-04 03:04:42 +01:00

pod-woodpecker-agent

Deploy

Dokku

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

Network

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.