container-server/services/woodpecker/docker-compose.yml
Renovate Bot f6b936be5c chore(deps): update woodpeckerci to v2.5.0 (#45)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.4.1-alpine` -> `v2.5.0-alpine` |
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.4.1-alpine` -> `v2.5.0-alpine` |

---

### Release Notes

<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-agent)</summary>

### [`v2.5.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.5.0): 2.5.0

[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.4.1...v2.5.0)

##### [2.5.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.5.0) - 2024-06-01

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;6543](https://github.com/6543), [@&#8203;Andre601](https://github.com/Andre601), [@&#8203;Elara6331](https://github.com/Elara6331), [@&#8203;OCram85](https://github.com/OCram85), [@&#8203;anbraten](https://github.com/anbraten), [@&#8203;aumetra](https://github.com/aumetra), [@&#8203;da-Kai](https://github.com/da-Kai), [@&#8203;dominic-p](https://github.com/dominic-p), [@&#8203;dvjn](https://github.com/dvjn), [@&#8203;eliasscosta](https://github.com/eliasscosta), [@&#8203;fernandrone](https://github.com/fernandrone), [@&#8203;linghuying](https://github.com/linghuying), [@&#8203;manuelluis](https://github.com/manuelluis), [@&#8203;nemunaire](https://github.com/nemunaire), [@&#8203;pat-s](https://github.com/pat-s), [@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;sinlov](https://github.com/sinlov), [@&#8203;stevapple](https://github.com/stevapple), [@&#8203;xoxys](https://github.com/xoxys), [@&#8203;zc-devs](https://github.com/zc-devs)

##### 🔒 Security

-   bump golang.org/x/net to v0.24.0 \[[#&#8203;3628](https://github.com/woodpecker-ci/woodpecker/pull/3628)]

#####  Features

-   Add DeletePipeline API \[[#&#8203;3506](https://github.com/woodpecker-ci/woodpecker/pull/3506)]
-   CLI: remove step logs \[[#&#8203;3458](https://github.com/woodpecker-ci/woodpecker/pull/3458)]
-   Step logs removing API and Button \[[#&#8203;3451](https://github.com/woodpecker-ci/woodpecker/pull/3451)]

##### 📚 Documentation

-   Create 2.5 docs \[[#&#8203;3732](https://github.com/woodpecker-ci/woodpecker/pull/3732)]
-   Fix spelling in README \[[#&#8203;3741](https://github.com/woodpecker-ci/woodpecker/pull/3741)]
-   chore: fix some comments \[[#&#8203;3740](https://github.com/woodpecker-ci/woodpecker/pull/3740)]
-   Add "Is It Up Yet?" Plugin \[[#&#8203;3731](https://github.com/woodpecker-ci/woodpecker/pull/3731)]
-   Remove discord as official community channel \[[#&#8203;3717](https://github.com/woodpecker-ci/woodpecker/pull/3717)]
-   Add Gitea Package plugin \[[#&#8203;3707](https://github.com/woodpecker-ci/woodpecker/pull/3707)]
-   Add documentation for setting Kubernetes labels and annotations \[[#&#8203;3687](https://github.com/woodpecker-ci/woodpecker/pull/3687)]
-   Remove broken link to gobook.io \[[#&#8203;3694](https://github.com/woodpecker-ci/woodpecker/pull/3694)]
-   docs: add `Gitea publisher-golang` plugin \[[#&#8203;3691](https://github.com/woodpecker-ci/woodpecker/pull/3691)]
-   Add Ansible+Woodpecker blog post \[[#&#8203;3685](https://github.com/woodpecker-ci/woodpecker/pull/3685)]
-   Clarify info on failing workflows/Steps \[[#&#8203;3679](https://github.com/woodpecker-ci/woodpecker/pull/3679)]
-   Add discord plugin \[[#&#8203;3662](https://github.com/woodpecker-ci/woodpecker/pull/3662)]
-   chore(deps): update dependency trim to v1 \[[#&#8203;3658](https://github.com/woodpecker-ci/woodpecker/pull/3658)]
-   chore(deps): update dependency got to v14 \[[#&#8203;3657](https://github.com/woodpecker-ci/woodpecker/pull/3657)]
-   Fail on broken anchors \[[#&#8203;3644](https://github.com/woodpecker-ci/woodpecker/pull/3644)]
-   Fix step syntax in docs \[[#&#8203;3635](https://github.com/woodpecker-ci/woodpecker/pull/3635)]
-   chore(deps): update docs npm deps non-major \[[#&#8203;3632](https://github.com/woodpecker-ci/woodpecker/pull/3632)]
-   Add Twine plugin \[[#&#8203;3619](https://github.com/woodpecker-ci/woodpecker/pull/3619)]
-   Fix docs \[[#&#8203;3615](https://github.com/woodpecker-ci/woodpecker/pull/3615)]
-   Document how to enable parallel step exec for all steps \[[#&#8203;3605](https://github.com/woodpecker-ci/woodpecker/pull/3605)]
-   Update dependency [@&#8203;types/marked](https://github.com/types/marked) to v6 \[[#&#8203;3544](https://github.com/woodpecker-ci/woodpecker/pull/3544)]
-   Update docs npm deps non-major \[[#&#8203;3485](https://github.com/woodpecker-ci/woodpecker/pull/3485)]
-   Docs updates and fixes \[[#&#8203;3535](https://github.com/woodpecker-ci/woodpecker/pull/3535)]

##### 🐛 Bug Fixes

-   Fix privileged steps in kubernetes \[[#&#8203;3711](https://github.com/woodpecker-ci/woodpecker/pull/3711)]
-   Check for error in repo middleware \[[#&#8203;3688](https://github.com/woodpecker-ci/woodpecker/pull/3688)]
-   Fix parent pipeline number env on restarts \[[#&#8203;3683](https://github.com/woodpecker-ci/woodpecker/pull/3683)]
-   Fix bitbucket dir fetching \[[#&#8203;3668](https://github.com/woodpecker-ci/woodpecker/pull/3668)]
-   Sanitize tag ref for gitea/forgejo \[[#&#8203;3664](https://github.com/woodpecker-ci/woodpecker/pull/3664)]
-   Fix secret loading \[[#&#8203;3620](https://github.com/woodpecker-ci/woodpecker/pull/3620)]
-   fix cli config loading and correct comment \[[#&#8203;3618](https://github.com/woodpecker-ci/woodpecker/pull/3618)]
-   Handle ImagePullBackOff pod status \[[#&#8203;3580](https://github.com/woodpecker-ci/woodpecker/pull/3580)]
-   Apply skip ci filter only on push events \[[#&#8203;3612](https://github.com/woodpecker-ci/woodpecker/pull/3612)]
-   agent: Continue to retry indefinitely \[[#&#8203;3599](https://github.com/woodpecker-ci/woodpecker/pull/3599)]
-   Fix cli version comparison and improve setup \[[#&#8203;3518](https://github.com/woodpecker-ci/woodpecker/pull/3518)]
-   Fix flag name \[[#&#8203;3534](https://github.com/woodpecker-ci/woodpecker/pull/3534)]

##### 📈 Enhancement

-   Use IDs for tokens \[[#&#8203;3695](https://github.com/woodpecker-ci/woodpecker/pull/3695)]
-   Lint go code with cspell \[[#&#8203;3706](https://github.com/woodpecker-ci/woodpecker/pull/3706)]
-   Replace duplicated strings \[[#&#8203;3710](https://github.com/woodpecker-ci/woodpecker/pull/3710)]
-   Cleanup server env settings \[[#&#8203;3670](https://github.com/woodpecker-ci/woodpecker/pull/3670)]
-   Setting for empty commits on path condition \[[#&#8203;3708](https://github.com/woodpecker-ci/woodpecker/pull/3708)]
-   Lint file names and directories via cSpell too \[[#&#8203;3703](https://github.com/woodpecker-ci/woodpecker/pull/3703)]
-   Make retry count of config fetching form forge configure \[[#&#8203;3699](https://github.com/woodpecker-ci/woodpecker/pull/3699)]
-   Ability to set pod annotations and labels from step \[[#&#8203;3609](https://github.com/woodpecker-ci/woodpecker/pull/3609)]
-   Support github deploy task \[[#&#8203;3512](https://github.com/woodpecker-ci/woodpecker/pull/3512)]
-   Rework entrypoints \[[#&#8203;3269](https://github.com/woodpecker-ci/woodpecker/pull/3269)]
-   Add cli output handlers \[[#&#8203;3660](https://github.com/woodpecker-ci/woodpecker/pull/3660)]
-   Cleanup api docs and ts api-client options \[[#&#8203;3663](https://github.com/woodpecker-ci/woodpecker/pull/3663)]
-   Split client into multiple files and add more tests \[[#&#8203;3647](https://github.com/woodpecker-ci/woodpecker/pull/3647)]
-   Add filter options to GetPipelines API \[[#&#8203;3645](https://github.com/woodpecker-ci/woodpecker/pull/3645)]
-   Deprecate environment filter and improve errors \[[#&#8203;3634](https://github.com/woodpecker-ci/woodpecker/pull/3634)]
-   Add task details to queue info in woodpecker-go \[[#&#8203;3636](https://github.com/woodpecker-ci/woodpecker/pull/3636)]
-   Use forge from db \[[#&#8203;1417](https://github.com/woodpecker-ci/woodpecker/pull/1417)]
-   Remove review button from approval view \[[#&#8203;3617](https://github.com/woodpecker-ci/woodpecker/pull/3617)]
-   Rework addons (use rpc) \[[#&#8203;3268](https://github.com/woodpecker-ci/woodpecker/pull/3268)]
-   Allow to disable deployments \[[#&#8203;3570](https://github.com/woodpecker-ci/woodpecker/pull/3570)]
-   Add flag to only access public repositories on GitHub \[[#&#8203;3566](https://github.com/woodpecker-ci/woodpecker/pull/3566)]
-   Add `runtimeClassName` in Kubernetes backend options \[[#&#8203;3474](https://github.com/woodpecker-ci/woodpecker/pull/3474)]
-   Remove unused cache properties \[[#&#8203;3567](https://github.com/woodpecker-ci/woodpecker/pull/3567)]
-   Allow separate gitea oauth URL  \[[#&#8203;3513](https://github.com/woodpecker-ci/woodpecker/pull/3513)]
-   Add option to set the local repository path to the cli command exec. \[[#&#8203;3524](https://github.com/woodpecker-ci/woodpecker/pull/3524)]

##### Misc

-   chore(deps): update pre-commit non-major \[[#&#8203;3736](https://github.com/woodpecker-ci/woodpecker/pull/3736)]
-   chore(deps): update docker.io/alpine docker tag to v3.20 \[[#&#8203;3735](https://github.com/woodpecker-ci/woodpecker/pull/3735)]
-   fix(deps): update module github.com/google/go-github/v61 to v62 \[[#&#8203;3730](https://github.com/woodpecker-ci/woodpecker/pull/3730)]
-   chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v4 \[[#&#8203;3729](https://github.com/woodpecker-ci/woodpecker/pull/3729)]
-   chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3 \[[#&#8203;3728](https://github.com/woodpecker-ci/woodpecker/pull/3728)]
-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v1.1.2 \[[#&#8203;3724](https://github.com/woodpecker-ci/woodpecker/pull/3724)]
-   fix(deps): update golang-packages \[[#&#8203;3713](https://github.com/woodpecker-ci/woodpecker/pull/3713)]
-   chore(deps): update postgres docker tag to v16.3 \[[#&#8203;3719](https://github.com/woodpecker-ci/woodpecker/pull/3719)]
-   chore(deps): update docker.io/appleboy/drone-discord docker tag to v1.3.2 \[[#&#8203;3718](https://github.com/woodpecker-ci/woodpecker/pull/3718)]
-   Added steps to reproduce and expected behavior in bug_report.yaml \[[#&#8203;3714](https://github.com/woodpecker-ci/woodpecker/pull/3714)]
-   flake: add flake-utils import and use eachDefaultSystem \[[#&#8203;3704](https://github.com/woodpecker-ci/woodpecker/pull/3704)]
-   Add nix flake for dev shell \[[#&#8203;3702](https://github.com/woodpecker-ci/woodpecker/pull/3702)]
-   Skip golangci in pre-commit.ci \[[#&#8203;3692](https://github.com/woodpecker-ci/woodpecker/pull/3692)]
-   chore(deps): update woodpeckerci/plugin-github-release docker tag to v1.2.0 \[[#&#8203;3690](https://github.com/woodpecker-ci/woodpecker/pull/3690)]
-   Switch back to upstream xgo image \[[#&#8203;3682](https://github.com/woodpecker-ci/woodpecker/pull/3682)]
-   Allow running tests on arm64 runners \[[#&#8203;2605](https://github.com/woodpecker-ci/woodpecker/pull/2605)]
-   chore(deps): update node.js to v22 \[[#&#8203;3659](https://github.com/woodpecker-ci/woodpecker/pull/3659)]
-   chore(deps): lock file maintenance \[[#&#8203;3656](https://github.com/woodpecker-ci/woodpecker/pull/3656)]
-   Add make target for spellcheck \[[#&#8203;3648](https://github.com/woodpecker-ci/woodpecker/pull/3648)]
-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v1.1.1 \[[#&#8203;3641](https://github.com/woodpecker-ci/woodpecker/pull/3641)]
-   chore(deps): update web npm deps non-major \[[#&#8203;3640](https://github.com/woodpecker-ci/woodpecker/pull/3640)]
-   chore(deps): update web npm deps non-major \[[#&#8203;3631](https://github.com/woodpecker-ci/woodpecker/pull/3631)]
-   Use our github-release plugin \[[#&#8203;3624](https://github.com/woodpecker-ci/woodpecker/pull/3624)]
-   chore(deps): lock file maintenance \[[#&#8203;3622](https://github.com/woodpecker-ci/woodpecker/pull/3622)]
-   Fix spellcheck and enable more dirs \[[#&#8203;3603](https://github.com/woodpecker-ci/woodpecker/pull/3603)]
-   Update docker.io/golang Docker tag to v1.22.2 \[[#&#8203;3596](https://github.com/woodpecker-ci/woodpecker/pull/3596)]
-   Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 \[[#&#8203;3597](https://github.com/woodpecker-ci/woodpecker/pull/3597)]
-   Update module github.com/google/go-github/v60 to v61 \[[#&#8203;3595](https://github.com/woodpecker-ci/woodpecker/pull/3595)]
-   Update pre-commit hook golangci/golangci-lint to v1.57.2 \[[#&#8203;3575](https://github.com/woodpecker-ci/woodpecker/pull/3575)]
-   Update docker.io/woodpeckerci/plugin-docker-buildx Docker tag to v3.2.1 \[[#&#8203;3574](https://github.com/woodpecker-ci/woodpecker/pull/3574)]
-   Update web npm deps non-major \[[#&#8203;3576](https://github.com/woodpecker-ci/woodpecker/pull/3576)]
-   Update dependency [@&#8203;intlify/unplugin-vue-i18n](https://github.com/intlify/unplugin-vue-i18n) to v4 \[[#&#8203;3572](https://github.com/woodpecker-ci/woodpecker/pull/3572)]
-   Update golang (packages) \[[#&#8203;3564](https://github.com/woodpecker-ci/woodpecker/pull/3564)]
-   Update dependency typescript to v5.4.3 \[[#&#8203;3563](https://github.com/woodpecker-ci/woodpecker/pull/3563)]
-   Lock file maintenance \[[#&#8203;3562](https://github.com/woodpecker-ci/woodpecker/pull/3562)]
-   Update pre-commit non-major \[[#&#8203;3556](https://github.com/woodpecker-ci/woodpecker/pull/3556)]
-   Update web npm deps non-major \[[#&#8203;3549](https://github.com/woodpecker-ci/woodpecker/pull/3549)]
-   Update dependency [@&#8203;types/node-emoji](https://github.com/types/node-emoji) to v2 \[[#&#8203;3545](https://github.com/woodpecker-ci/woodpecker/pull/3545)]
-   Update golang (packages) \[[#&#8203;3543](https://github.com/woodpecker-ci/woodpecker/pull/3543)]
-   Lock file maintenance \[[#&#8203;3541](https://github.com/woodpecker-ci/woodpecker/pull/3541)]
-   Update docker.io/woodpeckerci/plugin-docker-buildx Docker tag to v3.2.0 \[[#&#8203;3540](https://github.com/woodpecker-ci/woodpecker/pull/3540)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: carsten/container-server#45
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-13 14:48:19 +02:00

74 lines
2.3 KiB
YAML

version: '3.7'
# https://hub.docker.com/r/woodpeckerci/woodpecker-server/
# https://woodpecker-ci.org/docs/administration/setup
# https://woodpecker-ci.org/docs/administration/server-config
# https://woodpecker-ci.org/docs/administration/forges/gitea
# auth callback /authorize
networks:
woodpecker:
services:
woodpecker:
image: woodpeckerci/woodpecker-server:v2.5.0-alpine
container_name: woodpecker
restart: "${RESTART:-no}"
hostname: ci
domainname: ${BASE_DOMAIN}
environment:
- WOODPECKER_HOST=https://ci.${BASE_DOMAIN}
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
- WOODPECKER_OPEN=true
- WOODPECKER_GITEA=true
- WOODPECKER_GITEA_URL=https://git.${BASE_DOMAIN}
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
- WOODPECKER_DATABASE_DRIVER=postgres
- WOODPECKER_DATABASE_DATASOURCE=postgres://woodpecker:${WOODPECKER_PG_PWD:-woodpecker}@pg-woodpecker:5432/woodpecker?sslmode=disable
- WOODPECKER_ADMIN=${WOODPECKER_ADMIN}
- WOODPECKER_DOCKER_CONFIG=/config/docker.json
volumes:
- ./woodpecker/docker-config.json:/config/docker.json:ro
depends_on:
- pg-woodpecker
networks:
- proxy
- woodpecker
woodpecker-agent:
image: woodpeckerci/woodpecker-agent:v2.5.0-alpine
command: agent
container_name: woodpecker-agent
restart: "${RESTART:-no}"
hostname: runner
domainname: ${BASE_DOMAIN}
environment:
- WOODPECKER_SERVER=woodpecker:9000
- WOODPECKER_AGENT_SECRET=${WOODPECKER_AGENT_SECRET}
- WOODPECKER_AGENT_CONFIG_FILE=/config/agent.conf
- WOODPECKER_BACKEND_DOCKER_VOLUMES=/etc/timezone:/etc/timezone:ro,${BASE_DIR:-/srv}/watchtower:/ci
volumes:
- ${BASE_DIR:-/srv}/woodpecker/agent:/config
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- woodpecker
networks:
- woodpecker
pg-woodpecker:
image: postgres:16-alpine
container_name: pg-woodpecker
restart: "${RESTART:-no}"
environment:
- POSTGRES_DB=woodpecker
- POSTGRES_USER=woodpecker
- POSTGRES_PASSWORD=${WOODPECKER_PG_PWD:-woodpecker}
volumes:
- ${BASE_DIR:-/srv}/woodpecker/psql:/var/lib/postgresql/data
networks:
- woodpecker