2023-02-18 01:23:11 +01:00
|
|
|
version: '3.7'
|
|
|
|
|
2023-02-18 15:25:31 +01:00
|
|
|
# https://hub.docker.com/r/woodpeckerci/woodpecker-server/
|
2023-02-18 01:23:11 +01:00
|
|
|
# https://woodpecker-ci.org/docs/administration/setup
|
|
|
|
# https://woodpecker-ci.org/docs/administration/server-config
|
2023-09-13 22:33:47 +02:00
|
|
|
# https://woodpecker-ci.org/docs/administration/forges/gitea
|
2023-02-18 01:23:11 +01:00
|
|
|
|
2023-02-18 15:25:31 +01:00
|
|
|
# auth callback /authorize
|
|
|
|
|
2023-02-18 01:23:11 +01:00
|
|
|
networks:
|
|
|
|
woodpecker:
|
|
|
|
|
|
|
|
services:
|
|
|
|
woodpecker:
|
chore(deps): update woodpeckerci/woodpecker-server docker tag to v2.3.0 (#20)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.2.2-alpine` -> `v2.3.0-alpine` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-server)</summary>
### [`v2.3.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.3.0): 2.3.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.2.2...v2.3.0)
#### [2.3.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.3.0) - 2024-01-31
##### ❤️ Thanks to all contributors! ❤️
[@​anbraten](https://github.com/anbraten), [@​HerHde](https://github.com/HerHde), [@​qwerty287](https://github.com/qwerty287), [@​pat-s](https://github.com/pat-s), [@​renovate](https://github.com/renovate)\[bot], [@​lukashass](https://github.com/lukashass), [@​zc-devs](https://github.com/zc-devs), [@​Alonsohhl](https://github.com/Alonsohhl), [@​healdropper](https://github.com/healdropper), [@​eliasscosta](https://github.com/eliasscosta), [@​runephilosof-karnovgroup](https://github.com/runephilosof-karnovgroup)
##### ✨ Features
- Add release event \[[#​3226](https://github.com/woodpecker-ci/woodpecker/pull/3226)]
##### 📚 Documentation
- Add release types \[[#​3303](https://github.com/woodpecker-ci/woodpecker/pull/3303)]
- Add opencollective footer \[[#​3281](https://github.com/woodpecker-ci/woodpecker/pull/3281)]
- Use array syntax in docs \[[#​3242](https://github.com/woodpecker-ci/woodpecker/pull/3242)]
##### 🐛 Bug Fixes
- Fix Gitpod: Gitea auth token creation \[[#​3299](https://github.com/woodpecker-ci/woodpecker/pull/3299)]
- Fix agent updating \[[#​3287](https://github.com/woodpecker-ci/woodpecker/pull/3287)]
- Sanitize pod's step label \[[#​3275](https://github.com/woodpecker-ci/woodpecker/pull/3275)]
- Pipeline errors must be an array \[[#​3276](https://github.com/woodpecker-ci/woodpecker/pull/3276)]
- fix bitbucket SSO using UUID from bitbucket api response as ForgeRemoteID \[[#​3265](https://github.com/woodpecker-ci/woodpecker/pull/3265)]
- fix: bug pod service without label service \[[#​3256](https://github.com/woodpecker-ci/woodpecker/pull/3256)]
- Fix disabling PRs \[[#​3258](https://github.com/woodpecker-ci/woodpecker/pull/3258)]
- fix: bug annotations \[[#​3255](https://github.com/woodpecker-ci/woodpecker/pull/3255)]
##### 📈 Enhancement
- Update theme on system color mode change \[[#​3296](https://github.com/woodpecker-ci/woodpecker/pull/3296)]
- Improve secrets availability checks \[[#​3271](https://github.com/woodpecker-ci/woodpecker/pull/3271)]
- Load more pipeline log lines (500 => 5000) \[[#​3212](https://github.com/woodpecker-ci/woodpecker/pull/3212)]
- Clean up models \[[#​3228](https://github.com/woodpecker-ci/woodpecker/pull/3228)]
##### Misc
- chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.21.6 \[[#​3294](https://github.com/woodpecker-ci/woodpecker/pull/3294)]
- fix(deps): update docs npm deps non-major \[[#​3295](https://github.com/woodpecker-ci/woodpecker/pull/3295)]
- Remove deprecated `group` from config \[[#​3289](https://github.com/woodpecker-ci/woodpecker/pull/3289)]
- Add spellcheck config \[[#​3018](https://github.com/woodpecker-ci/woodpecker/pull/3018)]
- fix(deps): update golang (packages) \[[#​3284](https://github.com/woodpecker-ci/woodpecker/pull/3284)]
- chore(deps): lock file maintenance \[[#​3274](https://github.com/woodpecker-ci/woodpecker/pull/3274)]
- chore(deps): update web npm deps non-major \[[#​3273](https://github.com/woodpecker-ci/woodpecker/pull/3273)]
- Pin prettier version \[[#​3260](https://github.com/woodpecker-ci/woodpecker/pull/3260)]
- Fix prettier \[[#​3259](https://github.com/woodpecker-ci/woodpecker/pull/3259)]
- Update UI building in Makefile \[[#​3250](https://github.com/woodpecker-ci/woodpecker/pull/3250)]
</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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/20
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-02-03 17:27:42 +01:00
|
|
|
image: woodpeckerci/woodpecker-server:v2.3.0-alpine
|
2023-02-18 01:23:11 +01:00
|
|
|
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
|
2023-09-21 13:47:22 +02:00
|
|
|
|
2023-09-24 22:47:56 +02:00
|
|
|
- WOODPECKER_ADMIN=${WOODPECKER_ADMIN}
|
|
|
|
- WOODPECKER_DOCKER_CONFIG=/config/docker.json
|
|
|
|
volumes:
|
|
|
|
- ./woodpecker/docker-config.json:/config/docker.json:ro
|
2023-02-18 01:23:11 +01:00
|
|
|
depends_on:
|
|
|
|
- pg-woodpecker
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- woodpecker
|
|
|
|
|
|
|
|
woodpecker-agent:
|
chore(deps): update woodpeckerci/woodpecker-agent docker tag to v2.3.0 (#19)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.2.2-alpine` -> `v2.3.0-alpine` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-agent)</summary>
### [`v2.3.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.3.0): 2.3.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.2.2...v2.3.0)
#### [2.3.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.3.0) - 2024-01-31
##### ❤️ Thanks to all contributors! ❤️
[@​anbraten](https://github.com/anbraten), [@​HerHde](https://github.com/HerHde), [@​qwerty287](https://github.com/qwerty287), [@​pat-s](https://github.com/pat-s), [@​renovate](https://github.com/renovate)\[bot], [@​lukashass](https://github.com/lukashass), [@​zc-devs](https://github.com/zc-devs), [@​Alonsohhl](https://github.com/Alonsohhl), [@​healdropper](https://github.com/healdropper), [@​eliasscosta](https://github.com/eliasscosta), [@​runephilosof-karnovgroup](https://github.com/runephilosof-karnovgroup)
##### ✨ Features
- Add release event \[[#​3226](https://github.com/woodpecker-ci/woodpecker/pull/3226)]
##### 📚 Documentation
- Add release types \[[#​3303](https://github.com/woodpecker-ci/woodpecker/pull/3303)]
- Add opencollective footer \[[#​3281](https://github.com/woodpecker-ci/woodpecker/pull/3281)]
- Use array syntax in docs \[[#​3242](https://github.com/woodpecker-ci/woodpecker/pull/3242)]
##### 🐛 Bug Fixes
- Fix Gitpod: Gitea auth token creation \[[#​3299](https://github.com/woodpecker-ci/woodpecker/pull/3299)]
- Fix agent updating \[[#​3287](https://github.com/woodpecker-ci/woodpecker/pull/3287)]
- Sanitize pod's step label \[[#​3275](https://github.com/woodpecker-ci/woodpecker/pull/3275)]
- Pipeline errors must be an array \[[#​3276](https://github.com/woodpecker-ci/woodpecker/pull/3276)]
- fix bitbucket SSO using UUID from bitbucket api response as ForgeRemoteID \[[#​3265](https://github.com/woodpecker-ci/woodpecker/pull/3265)]
- fix: bug pod service without label service \[[#​3256](https://github.com/woodpecker-ci/woodpecker/pull/3256)]
- Fix disabling PRs \[[#​3258](https://github.com/woodpecker-ci/woodpecker/pull/3258)]
- fix: bug annotations \[[#​3255](https://github.com/woodpecker-ci/woodpecker/pull/3255)]
##### 📈 Enhancement
- Update theme on system color mode change \[[#​3296](https://github.com/woodpecker-ci/woodpecker/pull/3296)]
- Improve secrets availability checks \[[#​3271](https://github.com/woodpecker-ci/woodpecker/pull/3271)]
- Load more pipeline log lines (500 => 5000) \[[#​3212](https://github.com/woodpecker-ci/woodpecker/pull/3212)]
- Clean up models \[[#​3228](https://github.com/woodpecker-ci/woodpecker/pull/3228)]
##### Misc
- chore(deps): update docker.io/techknowlogick/xgo docker tag to go-1.21.6 \[[#​3294](https://github.com/woodpecker-ci/woodpecker/pull/3294)]
- fix(deps): update docs npm deps non-major \[[#​3295](https://github.com/woodpecker-ci/woodpecker/pull/3295)]
- Remove deprecated `group` from config \[[#​3289](https://github.com/woodpecker-ci/woodpecker/pull/3289)]
- Add spellcheck config \[[#​3018](https://github.com/woodpecker-ci/woodpecker/pull/3018)]
- fix(deps): update golang (packages) \[[#​3284](https://github.com/woodpecker-ci/woodpecker/pull/3284)]
- chore(deps): lock file maintenance \[[#​3274](https://github.com/woodpecker-ci/woodpecker/pull/3274)]
- chore(deps): update web npm deps non-major \[[#​3273](https://github.com/woodpecker-ci/woodpecker/pull/3273)]
- Pin prettier version \[[#​3260](https://github.com/woodpecker-ci/woodpecker/pull/3260)]
- Fix prettier \[[#​3259](https://github.com/woodpecker-ci/woodpecker/pull/3259)]
- Update UI building in Makefile \[[#​3250](https://github.com/woodpecker-ci/woodpecker/pull/3250)]
</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 this update 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/19
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-02-03 17:27:52 +01:00
|
|
|
image: woodpeckerci/woodpecker-agent:v2.3.0-alpine
|
2023-02-18 01:23:11 +01:00
|
|
|
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}
|
2024-01-03 13:36:08 +01:00
|
|
|
- WOODPECKER_AGENT_CONFIG_FILE=/config/agent.conf
|
2024-01-03 17:47:01 +01:00
|
|
|
- WOODPECKER_BACKEND_DOCKER_VOLUMES=/etc/timezone:/etc/timezone:ro,${BASE_DIR:-/srv}/watchtower:/ci
|
2023-02-18 01:23:11 +01:00
|
|
|
volumes:
|
2024-01-03 13:36:08 +01:00
|
|
|
- ${BASE_DIR:-/srv}/woodpecker/agent:/config
|
2023-02-18 01:23:11 +01:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
depends_on:
|
|
|
|
- woodpecker
|
|
|
|
networks:
|
|
|
|
- woodpecker
|
|
|
|
|
|
|
|
pg-woodpecker:
|
2024-01-03 18:56:26 +01:00
|
|
|
image: postgres:16-alpine
|
2023-02-18 01:23:11 +01:00
|
|
|
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
|