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 to v2.6.0 (#48)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.5.0-alpine` -> `v2.6.0-alpine` |
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.5.0-alpine` -> `v2.6.0-alpine` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-agent)</summary>
### [`v2.6.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.6.0): 2.6.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.5.0...v2.6.0)
##### [2.6.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.6.0) - 2024-06-13
##### ❤️ Thanks to all contributors! ❤️
[@​6543](https://github.com/6543), [@​anbraten](https://github.com/anbraten), [@​jcgl17](https://github.com/jcgl17), [@​pat-s](https://github.com/pat-s), [@​qwerty287](https://github.com/qwerty287), [@​s00500](https://github.com/s00500), [@​wez](https://github.com/wez), [@​zc-devs](https://github.com/zc-devs)
##### 🔒 Security
- Bump trivy plugin version and remove unused variable \[[#​3759](https://github.com/woodpecker-ci/woodpecker/pull/3759)]
##### ✨ Features
- Allow to store logs in files \[[#​3568](https://github.com/woodpecker-ci/woodpecker/pull/3568)]
- Native forgejo support \[[#​3684](https://github.com/woodpecker-ci/woodpecker/pull/3684)]
##### 🐛 Bug Fixes
- Add release event to webhooks \[[#​3784](https://github.com/woodpecker-ci/woodpecker/pull/3784)]
- Respect cli argument when checking docker backend availability \[[#​3770](https://github.com/woodpecker-ci/woodpecker/pull/3770)]
- Fix repo creation \[[#​3756](https://github.com/woodpecker-ci/woodpecker/pull/3756)]
- Fix config loading of cli \[[#​3764](https://github.com/woodpecker-ci/woodpecker/pull/3764)]
- Fix missing WOODPECKER_BITBUCKET_DC_URL \[[#​3761](https://github.com/woodpecker-ci/woodpecker/pull/3761)]
- Correct repo repair success message in cli \[[#​3757](https://github.com/woodpecker-ci/woodpecker/pull/3757)]
##### 📈 Enhancement
- Improve step logging \[[#​3722](https://github.com/woodpecker-ci/woodpecker/pull/3722)]
- chore(deps): update dependency eslint to v9 \[[#​3594](https://github.com/woodpecker-ci/woodpecker/pull/3594)]
- Show workflow names if there are multiple configs \[[#​3767](https://github.com/woodpecker-ci/woodpecker/pull/3767)]
- Use http constants \[[#​3766](https://github.com/woodpecker-ci/woodpecker/pull/3766)]
- Spellcheck "server/\*" \[[#​3753](https://github.com/woodpecker-ci/woodpecker/pull/3753)]
- Agent-wide node selector \[[#​3608](https://github.com/woodpecker-ci/woodpecker/pull/3608)]
##### 📚 Documentation
- Remove misleading crontab guru suggestion from docs \[[#​3781](https://github.com/woodpecker-ci/woodpecker/pull/3781)]
- Add documentation for KUBERNETES_SERVICE_HOST in Agent \[[#​3747](https://github.com/woodpecker-ci/woodpecker/pull/3747)]
- Remove web.archive.org workaround in docs \[[#​3771](https://github.com/woodpecker-ci/woodpecker/pull/3771)]
- Serve plugin icons locally \[[#​3768](https://github.com/woodpecker-ci/woodpecker/pull/3768)]
- Docs: update local backend page \[[#​3765](https://github.com/woodpecker-ci/woodpecker/pull/3765)]
- Remove old docs versions \[[#​3743](https://github.com/woodpecker-ci/woodpecker/pull/3743)]
- Merge release plugins \[[#​3752](https://github.com/woodpecker-ci/woodpecker/pull/3752)]
- Split FAQ \[[#​3746](https://github.com/woodpecker-ci/woodpecker/pull/3746)]
##### Misc
- Update nix flake \[[#​3780](https://github.com/woodpecker-ci/woodpecker/pull/3780)]
- chore(deps): lock file maintenance \[[#​3783](https://github.com/woodpecker-ci/woodpecker/pull/3783)]
- chore(deps): update pre-commit hook golangci/golangci-lint to v1.59.1 \[[#​3782](https://github.com/woodpecker-ci/woodpecker/pull/3782)]
- fix(deps): update codeberg.org/mvdkleijn/forgejo-sdk/forgejo digest to [`168c988`](https://github.com/woodpecker-ci/woodpecker/commit/168c988) \[[#​3776](https://github.com/woodpecker-ci/woodpecker/pull/3776)]
- chore(deps): lock file maintenance \[[#​3750](https://github.com/woodpecker-ci/woodpecker/pull/3750)]
- chore(deps): update gitea/gitea docker tag to v1.22 \[[#​3749](https://github.com/woodpecker-ci/woodpecker/pull/3749)]
- Fix setting name \[[#​3744](https://github.com/woodpecker-ci/woodpecker/pull/3744)]
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTkuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM5OS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/48
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-24 19:01:06 +02:00
|
|
|
image: woodpeckerci/woodpecker-server:v2.6.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 to v2.6.0 (#48)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [woodpeckerci/woodpecker-agent](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.5.0-alpine` -> `v2.6.0-alpine` |
| [woodpeckerci/woodpecker-server](https://github.com/woodpecker-ci/woodpecker) | minor | `v2.5.0-alpine` -> `v2.6.0-alpine` |
---
### Release Notes
<details>
<summary>woodpecker-ci/woodpecker (woodpeckerci/woodpecker-agent)</summary>
### [`v2.6.0`](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.6.0): 2.6.0
[Compare Source](https://github.com/woodpecker-ci/woodpecker/compare/v2.5.0...v2.6.0)
##### [2.6.0](https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.6.0) - 2024-06-13
##### ❤️ Thanks to all contributors! ❤️
[@​6543](https://github.com/6543), [@​anbraten](https://github.com/anbraten), [@​jcgl17](https://github.com/jcgl17), [@​pat-s](https://github.com/pat-s), [@​qwerty287](https://github.com/qwerty287), [@​s00500](https://github.com/s00500), [@​wez](https://github.com/wez), [@​zc-devs](https://github.com/zc-devs)
##### 🔒 Security
- Bump trivy plugin version and remove unused variable \[[#​3759](https://github.com/woodpecker-ci/woodpecker/pull/3759)]
##### ✨ Features
- Allow to store logs in files \[[#​3568](https://github.com/woodpecker-ci/woodpecker/pull/3568)]
- Native forgejo support \[[#​3684](https://github.com/woodpecker-ci/woodpecker/pull/3684)]
##### 🐛 Bug Fixes
- Add release event to webhooks \[[#​3784](https://github.com/woodpecker-ci/woodpecker/pull/3784)]
- Respect cli argument when checking docker backend availability \[[#​3770](https://github.com/woodpecker-ci/woodpecker/pull/3770)]
- Fix repo creation \[[#​3756](https://github.com/woodpecker-ci/woodpecker/pull/3756)]
- Fix config loading of cli \[[#​3764](https://github.com/woodpecker-ci/woodpecker/pull/3764)]
- Fix missing WOODPECKER_BITBUCKET_DC_URL \[[#​3761](https://github.com/woodpecker-ci/woodpecker/pull/3761)]
- Correct repo repair success message in cli \[[#​3757](https://github.com/woodpecker-ci/woodpecker/pull/3757)]
##### 📈 Enhancement
- Improve step logging \[[#​3722](https://github.com/woodpecker-ci/woodpecker/pull/3722)]
- chore(deps): update dependency eslint to v9 \[[#​3594](https://github.com/woodpecker-ci/woodpecker/pull/3594)]
- Show workflow names if there are multiple configs \[[#​3767](https://github.com/woodpecker-ci/woodpecker/pull/3767)]
- Use http constants \[[#​3766](https://github.com/woodpecker-ci/woodpecker/pull/3766)]
- Spellcheck "server/\*" \[[#​3753](https://github.com/woodpecker-ci/woodpecker/pull/3753)]
- Agent-wide node selector \[[#​3608](https://github.com/woodpecker-ci/woodpecker/pull/3608)]
##### 📚 Documentation
- Remove misleading crontab guru suggestion from docs \[[#​3781](https://github.com/woodpecker-ci/woodpecker/pull/3781)]
- Add documentation for KUBERNETES_SERVICE_HOST in Agent \[[#​3747](https://github.com/woodpecker-ci/woodpecker/pull/3747)]
- Remove web.archive.org workaround in docs \[[#​3771](https://github.com/woodpecker-ci/woodpecker/pull/3771)]
- Serve plugin icons locally \[[#​3768](https://github.com/woodpecker-ci/woodpecker/pull/3768)]
- Docs: update local backend page \[[#​3765](https://github.com/woodpecker-ci/woodpecker/pull/3765)]
- Remove old docs versions \[[#​3743](https://github.com/woodpecker-ci/woodpecker/pull/3743)]
- Merge release plugins \[[#​3752](https://github.com/woodpecker-ci/woodpecker/pull/3752)]
- Split FAQ \[[#​3746](https://github.com/woodpecker-ci/woodpecker/pull/3746)]
##### Misc
- Update nix flake \[[#​3780](https://github.com/woodpecker-ci/woodpecker/pull/3780)]
- chore(deps): lock file maintenance \[[#​3783](https://github.com/woodpecker-ci/woodpecker/pull/3783)]
- chore(deps): update pre-commit hook golangci/golangci-lint to v1.59.1 \[[#​3782](https://github.com/woodpecker-ci/woodpecker/pull/3782)]
- fix(deps): update codeberg.org/mvdkleijn/forgejo-sdk/forgejo digest to [`168c988`](https://github.com/woodpecker-ci/woodpecker/commit/168c988) \[[#​3776](https://github.com/woodpecker-ci/woodpecker/pull/3776)]
- chore(deps): lock file maintenance \[[#​3750](https://github.com/woodpecker-ci/woodpecker/pull/3750)]
- chore(deps): update gitea/gitea docker tag to v1.22 \[[#​3749](https://github.com/woodpecker-ci/woodpecker/pull/3749)]
- Fix setting name \[[#​3744](https://github.com/woodpecker-ci/woodpecker/pull/3744)]
</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTkuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM5OS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://git.csprung.de/carsten/container-server/pulls/48
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-06-24 19:01:06 +02:00
|
|
|
image: woodpeckerci/woodpecker-agent:v2.6.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
|