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

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

---

### Release Notes

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

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

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

##### [2.4.1](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.4.1) - 2024-03-20

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

[@&#8203;manuelluis](https://github.com/manuelluis), [@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;xoxys](https://github.com/xoxys)

##### 🔒 Security

-   Only allow to deploy from push, tag and release \[[#&#8203;3522](https://github.com/woodpecker-ci/woodpecker/pull/3522)]

##### 🐛 Bug Fixes

-   Exclude setup from cli command exec. \[[#&#8203;3523](https://github.com/woodpecker-ci/woodpecker/pull/3523)]
-   Fix uppercased env \[[#&#8203;3516](https://github.com/woodpecker-ci/woodpecker/pull/3516)]
-   Fix env schema \[[#&#8203;3514](https://github.com/woodpecker-ci/woodpecker/pull/3514)]

##### Misc

-   Temp pin golangci version in makefile \[[#&#8203;3520](https://github.com/woodpecker-ci/woodpecker/pull/3520)]

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

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

##### [2.4.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.4.0) - 2024-03-19

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

[@&#8203;6543](https://github.com/6543), [@&#8203;Ray-D-Song](https://github.com/Ray-D-Song), [@&#8203;anbraten](https://github.com/anbraten), [@&#8203;eliasscosta](https://github.com/eliasscosta), [@&#8203;fernandrone](https://github.com/fernandrone), [@&#8203;kjuulh](https://github.com/kjuulh), [@&#8203;kytta](https://github.com/kytta), [@&#8203;langecode](https://github.com/langecode), [@&#8203;lukashass](https://github.com/lukashass), [@&#8203;qwerty287](https://github.com/qwerty287), [@&#8203;rockdrilla](https://github.com/rockdrilla), [@&#8203;sinlov](https://github.com/sinlov), [@&#8203;smainz](https://github.com/smainz), [@&#8203;xoxys](https://github.com/xoxys), [@&#8203;zc-devs](https://github.com/zc-devs), [@&#8203;zowhoey](https://github.com/zowhoey)

##### 🔒 Security

-   Improve security context handling \[[#&#8203;3482](https://github.com/woodpecker-ci/woodpecker/pull/3482)]
-   fix(deps): update module github.com/moby/moby to v24.0.9+incompatible \[[#&#8203;3323](https://github.com/woodpecker-ci/woodpecker/pull/3323)]

#####  Features

-   Cli setup command \[[#&#8203;3384](https://github.com/woodpecker-ci/woodpecker/pull/3384)]
-   Add bitbucket datacenter (server) support  \[[#&#8203;2503](https://github.com/woodpecker-ci/woodpecker/pull/2503)]
-   Cli updater \[[#&#8203;3382](https://github.com/woodpecker-ci/woodpecker/pull/3382)]

##### 📚 Documentation

-   Delete docs for v0.15.x \[[#&#8203;3508](https://github.com/woodpecker-ci/woodpecker/pull/3508)]
-   Add deployment plugin \[[#&#8203;3495](https://github.com/woodpecker-ci/woodpecker/pull/3495)]
-   Bump follow-redirects and fix broken anchors \[[#&#8203;3488](https://github.com/woodpecker-ci/woodpecker/pull/3488)]
-   fix: plugin doc page not found \[[#&#8203;3480](https://github.com/woodpecker-ci/woodpecker/pull/3480)]
-   Documentation improvements \[[#&#8203;3376](https://github.com/woodpecker-ci/woodpecker/pull/3376)]
-   fix(deps): update docs npm deps non-major \[[#&#8203;3455](https://github.com/woodpecker-ci/woodpecker/pull/3455)]
-   Add "Sonatype Nexus" plugin \[[#&#8203;3446](https://github.com/woodpecker-ci/woodpecker/pull/3446)]
-   Add blog post \[[#&#8203;3439](https://github.com/woodpecker-ci/woodpecker/pull/3439)]
-   Add "Gradle Wrapper Validation" plugin \[[#&#8203;3435](https://github.com/woodpecker-ci/woodpecker/pull/3435)]
-   Add blog post \[[#&#8203;3410](https://github.com/woodpecker-ci/woodpecker/pull/3410)]
-   Extend core ideas documentation \[[#&#8203;3405](https://github.com/woodpecker-ci/woodpecker/pull/3405)]
-   docs: fix contributions link \[[#&#8203;3363](https://github.com/woodpecker-ci/woodpecker/pull/3363)]
-   Update/fix some docs \[[#&#8203;3359](https://github.com/woodpecker-ci/woodpecker/pull/3359)]
-   chore(deps): update dependency marked to v12 \[[#&#8203;3325](https://github.com/woodpecker-ci/woodpecker/pull/3325)]

##### 🐛 Bug Fixes

-   Fix skip setup for some general cli commands \[[#&#8203;3498](https://github.com/woodpecker-ci/woodpecker/pull/3498)]
-   Move generic agent flags to cmd/agent/core \[[#&#8203;3484](https://github.com/woodpecker-ci/woodpecker/pull/3484)]
-   Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE \[[#&#8203;3404](https://github.com/woodpecker-ci/woodpecker/pull/3404)]
-   Set pull-request id and labels on pr-closed event \[[#&#8203;3442](https://github.com/woodpecker-ci/woodpecker/pull/3442)]
-   Update org name on login \[[#&#8203;3409](https://github.com/woodpecker-ci/woodpecker/pull/3409)]
-   Do not alter secret key upper-/lowercase \[[#&#8203;3375](https://github.com/woodpecker-ci/woodpecker/pull/3375)]
-   fix: can't run multiple services on k8s \[[#&#8203;3395](https://github.com/woodpecker-ci/woodpecker/pull/3395)]
-   Fix agent polling \[[#&#8203;3378](https://github.com/woodpecker-ci/woodpecker/pull/3378)]
-   Remove empty strings from slice before parsing agent config \[[#&#8203;3387](https://github.com/woodpecker-ci/woodpecker/pull/3387)]
-   Set correct link for commit \[[#&#8203;3368](https://github.com/woodpecker-ci/woodpecker/pull/3368)]
-   Fix schema links \[[#&#8203;3369](https://github.com/woodpecker-ci/woodpecker/pull/3369)]
-   Fix correctly handle gitlab pr closed events \[[#&#8203;3362](https://github.com/woodpecker-ci/woodpecker/pull/3362)]
-   fix: update schema event_enum to remove error warning when.event \[[#&#8203;3357](https://github.com/woodpecker-ci/woodpecker/pull/3357)]
-   Fix version check on next \[[#&#8203;3340](https://github.com/woodpecker-ci/woodpecker/pull/3340)]
-   Ignore gitlab merge request events without code changes \[[#&#8203;3338](https://github.com/woodpecker-ci/woodpecker/pull/3338)]
-   Ignore gitlab push events without commits \[[#&#8203;3339](https://github.com/woodpecker-ci/woodpecker/pull/3339)]
-   Consider gitlab inherited permissions \[[#&#8203;3308](https://github.com/woodpecker-ci/woodpecker/pull/3308)]
-   fix: agent panic when node is terminated during step execution \[[#&#8203;3331](https://github.com/woodpecker-ci/woodpecker/pull/3331)]

##### 📈 Enhancement

-   Enable golangci linter gomnd \[[#&#8203;3171](https://github.com/woodpecker-ci/woodpecker/pull/3171)]
-   Apply "grpcnotrace" go build tag \[[#&#8203;3448](https://github.com/woodpecker-ci/woodpecker/pull/3448)]
-   Simplify store interfaces \[[#&#8203;3437](https://github.com/woodpecker-ci/woodpecker/pull/3437)]
-   Deprecate alternative names on secrets \[[#&#8203;3406](https://github.com/woodpecker-ci/woodpecker/pull/3406)]
-   Store workflows/steps for blocked pipeline \[[#&#8203;2757](https://github.com/woodpecker-ci/woodpecker/pull/2757)]
-   Parse email from Gitea webhook \[[#&#8203;3420](https://github.com/woodpecker-ci/woodpecker/pull/3420)]
-   Replace http types on forge interface \[[#&#8203;3374](https://github.com/woodpecker-ci/woodpecker/pull/3374)]
-   Prevent agent deletion when it's still running tasks \[[#&#8203;3377](https://github.com/woodpecker-ci/woodpecker/pull/3377)]
-   Refactor internal services \[[#&#8203;915](https://github.com/woodpecker-ci/woodpecker/pull/915)]
-   Lint for event filter and deprecate `exclude` \[[#&#8203;3222](https://github.com/woodpecker-ci/woodpecker/pull/3222)]
-   Allow editing all environment variables in pipeline popups \[[#&#8203;3314](https://github.com/woodpecker-ci/woodpecker/pull/3314)]
-   Parse backend options in backend \[[#&#8203;3227](https://github.com/woodpecker-ci/woodpecker/pull/3227)]
-   Make agent usable for external backends \[[#&#8203;3270](https://github.com/woodpecker-ci/woodpecker/pull/3270)]
-   Add no branches text \[[#&#8203;3312](https://github.com/woodpecker-ci/woodpecker/pull/3312)]
-   Add loading spinner to repo list \[[#&#8203;3310](https://github.com/woodpecker-ci/woodpecker/pull/3310)]

##### Misc

-   Post on mastodon when releasing a new version \[[#&#8203;3509](https://github.com/woodpecker-ci/woodpecker/pull/3509)]
-   chore(deps): update dependency alpine\_3\_18/ca-certificates to v20240226 \[[#&#8203;3501](https://github.com/woodpecker-ci/woodpecker/pull/3501)]
-   fix(deps): update module github.com/google/go-github/v59 to v60 \[[#&#8203;3493](https://github.com/woodpecker-ci/woodpecker/pull/3493)]
-   fix(deps): update dependency [@&#8203;intlify/unplugin-vue-i18n](https://github.com/intlify/unplugin-vue-i18n) to v3 \[[#&#8203;3492](https://github.com/woodpecker-ci/woodpecker/pull/3492)]
-   chore(deps): update dependency vue-tsc to v2 \[[#&#8203;3491](https://github.com/woodpecker-ci/woodpecker/pull/3491)]
-   chore(deps): update dependency eslint-config-airbnb-typescript to v18 \[[#&#8203;3490](https://github.com/woodpecker-ci/woodpecker/pull/3490)]
-   chore(deps): update web npm deps non-major \[[#&#8203;3489](https://github.com/woodpecker-ci/woodpecker/pull/3489)]
-   fix(deps): update golang (packages) \[[#&#8203;3486](https://github.com/woodpecker-ci/woodpecker/pull/3486)]
-   fix(deps): update module google.golang.org/protobuf to v1.33.0 \[security] \[[#&#8203;3487](https://github.com/woodpecker-ci/woodpecker/pull/3487)]
-   chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.22.1 \[[#&#8203;3476](https://github.com/woodpecker-ci/woodpecker/pull/3476)]
-   chore(deps): update docker.io/golang docker tag to v1.22.1 \[[#&#8203;3475](https://github.com/woodpecker-ci/woodpecker/pull/3475)]
-   Update prettier version \[[#&#8203;3471](https://github.com/woodpecker-ci/woodpecker/pull/3471)]
-   chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v1.1.0 \[[#&#8203;3464](https://github.com/woodpecker-ci/woodpecker/pull/3464)]
-   chore(deps): lock file maintenance \[[#&#8203;3465](https://github.com/woodpecker-ci/woodpecker/pull/3465)]
-   chore(deps): update postgres docker tag to v16.2 \[[#&#8203;3461](https://github.com/woodpecker-ci/woodpecker/pull/3461)]
-   chore(deps): update lycheeverse/lychee docker tag to v0.14.3 \[[#&#8203;3429](https://github.com/woodpecker-ci/woodpecker/pull/3429)]
-   fix(deps): update golang (packages) \[[#&#8203;3430](https://github.com/woodpecker-ci/woodpecker/pull/3430)]
-   More `when` filters \[[#&#8203;3407](https://github.com/woodpecker-ci/woodpecker/pull/3407)]
-   Apply `documentation`/`ui` label to corresponding renovate updates \[[#&#8203;3400](https://github.com/woodpecker-ci/woodpecker/pull/3400)]
-   chore(deps): update dependency eslint-plugin-simple-import-sort to v12 \[[#&#8203;3396](https://github.com/woodpecker-ci/woodpecker/pull/3396)]
-   chore(deps): update typescript-eslint monorepo to v7 (major) \[[#&#8203;3397](https://github.com/woodpecker-ci/woodpecker/pull/3397)]
-   fix(deps): update module github.com/google/go-github/v58 to v59 \[[#&#8203;3398](https://github.com/woodpecker-ci/woodpecker/pull/3398)]
-   chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.22.0 \[[#&#8203;3392](https://github.com/woodpecker-ci/woodpecker/pull/3392)]
-   chore(deps): update docker.io/golang docker tag \[[#&#8203;3391](https://github.com/woodpecker-ci/woodpecker/pull/3391)]
-   fix(deps): update golang (packages) \[[#&#8203;3393](https://github.com/woodpecker-ci/woodpecker/pull/3393)]
-   chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v3.1.0 \[[#&#8203;3394](https://github.com/woodpecker-ci/woodpecker/pull/3394)]
-   Add link checking \[[#&#8203;3371](https://github.com/woodpecker-ci/woodpecker/pull/3371)]
-   Apply `dependencies` label to all PRs \[[#&#8203;3358](https://github.com/woodpecker-ci/woodpecker/pull/3358)]
-   chore(deps): update docker.io/woodpeckerci/plugin-docker-buildx docker tag to v3.0.1 \[[#&#8203;3324](https://github.com/woodpecker-ci/woodpecker/pull/3324)]

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNTAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI1MC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#34
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-03-21 22:29:13 +01: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.4.1-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.4.1-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