1
0
Fork 0
You can not 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 4a96adb852
Bump woodpecker to 0.15.6
1 month ago
Dockerfile Bump woodpecker to 0.15.6 1 month ago
README.md Add network section 2 months ago

README.md

pod-woodpecker-server

Deploy

Dokku

dokku apps:create woodpecker

dokku config:set woodpecker --no-restart WOODPECKER_GITEA=true
dokku config:set woodpecker --no-restart WOODPECKER_GITEA_URL=<secret>
dokku config:set woodpecker --no-restart WOODPECKER_GITEA_CLIENT=<Gitea OAuth client id>
dokku config:set woodpecker --no-restart WOODPECKER_GITEA_SECRET=<Gitea OAuth client secret>

dokku config:set woodpecker --no-restart WOODPECKER_HOST=https://woodpecker.example.org
dokku config:set woodpecker --no-restart WOODPECKER_ADMIN=user
dokku config:set woodpecker --no-restart WOODPECKER_AGENT_SECRET=<secret>

dokku storage:mount woodpecker /var/lib/dokku/data/storage/woodpecker:/var/lib/woodpecker

dokku config:set --no-restart woodpecker TZ=Europe/Rome
dokku config:set --no-restart woodpecker DOKKU_LETSENCRYPT_EMAIL=example@example.org


git push dokku main:main


dokku proxy:ports-add woodpecker http:80:8000
dokku proxy:ports-remove woodpecker http:80:5000

dokku letsencrypt:enable woodpecker
dokku letsencrypt:cron-job --add woodpecker

For the network

Both server and agent must be able to comunicate so we put them in the same docker network:

dokku network:create woodpecker-network

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