Woodpecker CI
| Description / name | Input element |
|---|---|
| Container Registry | |
| Container Configuration Root Path | |
| Timezone | |
| User ID | |
| Group ID | |
| Woodpecker CI Host Port | |
| Woodpecker CI /config Path |
Lightweight CI/CD pipeline server with a built-in agent — integrates with Gitea, GitHub, and GitLab for automated builds and deployments.
| Port | 8000 |
| Registry | ghcr.io/daemonless/woodpecker |
| Daemonless | daemonless/woodpecker |
| Source | woodpecker-ci/woodpecker |
| Website | woodpecker-ci.org |
Version Tags
| Tag | Description | Best For |
|---|---|---|
latest |
Upstream Binary. Built from official release. | Most users — recommended. |
Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions, including the security model for host vs. container privileges.
Deployment
Save as compose.yaml, then run podman-compose up -d.
Save as run.sh, then run sh run.sh.
Save as woodpecker-deploy.yaml, then run ansible-playbook woodpecker-deploy.yaml.
Warning
Exposing ports in AppJail means that your service can be reached from remote hosts. If that is not your intention, do not expose the ports and communicate with the service using the jail's IPv4 address or hostname assigned by the virtual network.
Save the files above, then run appjail-director up.
Save the files above, then run sh run.sh.
Experimental
Bastille's OCI support is experimental. It requires buildah and shares the host network stack (inherit). Mount volumes with --volume HOST JAIL; without it, image-declared volumes are stored under ${bastille_volumesdir}/${jail}.
Save as bastille-compose.yml, then run bastille up.
Access at: http://localhost:8000
Interactive Configuration
Parameters
Environment Variables
| Variable | Default | Description |
|---|---|---|
WOODPECKER_SERVER_ENABLE |
true |
Enable Woodpecker Server (true/false) |
WOODPECKER_HOST |
${WOODPECKER_HOST} |
The external URL of this server, e.g. https://ci.example.com |
WOODPECKER_DATABASE_DRIVER |
sqlite3 |
Database driver (sqlite3 or postgres) |
WOODPECKER_DATABASE_DATASOURCE |
/config/woodpecker.sqlite |
Database connection string or file path |
WOODPECKER_AGENT_SECRET |
${WOODPECKER_AGENT_SECRET} |
Shared secret for server-agent communication |
PUID |
1000 |
|
PGID |
1000 |
|
TZ |
${TZ:-UTC} |
Timezone for the containers |
SERVER_DATA_LOCATION |
`` | Path to store the server's data (database, logs) |
AGENT_DATA_LOCATION |
`` | Path to store the agent's data |
WOODPECKER_AGENT_ENABLE |
`` | Enable Woodpecker Agent (true/false) |
WOODPECKER_GITEA |
`` | Enable Gitea authentication (true/false) |
WOODPECKER_GITEA_URL |
`` | The URL of the Gitea server |
Volumes
| Path | Description |
|---|---|
/config |
Data directory (database, logs) |
Ports
| Port | Protocol | Description |
|---|---|---|
8000 |
TCP | Server Web UI/API |
9000 |
TCP | GRPC (Server/Agent communication) |
Implementation Details
- Architectures: amd64
- User:
bsd(UID/GID set via PUID/PGID). Defaults to1000:1000. - Base: Built on
ghcr.io/daemonless/base(FreeBSD 15.1).
Need help? Join our Discord community.