container-server/services/woodpecker/docker-compose.yml
Renovate Bot f5782183d1 chore(deps): update woodpeckerci/woodpecker-agent docker tag to v2.2.2 (#14)
This PR contains the following updates:

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

---

### Release Notes

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

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

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

#### [2.2.2](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.2.2) - 2024-01-21

##### Misc

-   build: fix nfpm path for server binary \[[#&#8203;3246](https://github.com/woodpecker-ci/woodpecker/pull/3246)]

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

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

#### [2.2.1](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.2.1) - 2024-01-21

##### 🐛 Bug Fixes

-   Add gitea/forgejo driver check, to handle ErrUnknownVersion error \[[#&#8203;3243](https://github.com/woodpecker-ci/woodpecker/pull/3243)]

##### Misc

-   Build tarball for distribution packages \[[#&#8203;3244](https://github.com/woodpecker-ci/woodpecker/pull/3244)]

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuMTQiLCJ1cGRhdGVkSW5WZXIiOiIzNy4xNDAuMTQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Reviewed-on: carsten/container-server#14
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-23 17:41:40 +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.2.2-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.2.2-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