woodpecker/docs/versioned_docs/version-2.0/30-administration/00-deployment/00-overview.md
qwerty287 948b4224c7
Add 2.x docs (#2865)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Anbraten <anton@ju60.de>
2023-11-23 17:00:54 +01:00

3.2 KiB

Overview

A Woodpecker deployment consists of two parts:

  • A server which is the heart of Woodpecker and ships the web interface.
  • Next to one server you can deploy any number of agents which will run the pipelines.

Each agent is able to process one pipeline step by default. If you have 4 agents installed and connected to the Woodpecker server, your system will process 4 workflows in parallel.

:::tip You can add more agents to increase the number of parallel workflows or set the agent's WOODPECKER_MAX_WORKFLOWS=1 environment variable to increase the number of parallel workflows for that agent. :::

Which version of Woodpecker should I use?

Woodpecker is having two different kinds of releases: stable and next.

To find out more about the differences between the two releases, please read the FAQ.

Hardware Requirements

Below are minimal resources requirements for Woodpecker components itself:

Component Memory CPU
Server 200 MB 1
Agent 32 MB 1

Note, that those values do not include the operating system or workload (pipelines execution) resources consumption.

In addition you need at least some kind of database which requires additional resources depending on the selected database system.

Installation

You can install Woodpecker on multiple ways:

Authentication

Authentication is done using OAuth and is delegated to your forge which is configured using environment variables.

See the complete reference for all supported forges here.

Database

By default Woodpecker uses a SQLite database which requires zero installation or configuration. See the database settings page to further configure it or use MySQL or Postgres.

SSL

Woodpecker supports SSL configuration by using Let's encrypt or by using own certificates. See the SSL guide. You can also put it behind a reverse proxy

Metrics

A Prometheus endpoint is exposed.

Behind a proxy

See the proxy guide if you want to see a setup behind Apache, Nginx, Caddy or ngrok.

In the case you need to use Woodpecker with a URL path prefix (like: https://example.org/woodpecker/), you can use the option WOODPECKER_ROOT_PATH.

Third-party installation methods

:::info These installation methods are not officially supported. If you experience issues with them, please open issues in the specific repositories. :::