Quickstart
Get Crow CI running in 5 minutes.
Prerequisites
Section titled “Prerequisites”- A Git forge account (Forgejo, Gitea, GitHub, GitLab, or Bitbucket)
- Docker and Docker Compose installed
- A repository to run pipelines on
-
Create an OAuth application on your forge:
- Go to your forge’s settings (e.g., Codeberg → Settings → Applications)
- Create a new OAuth application with:
- Name: Crow CI
- Redirect URI:
http://localhost:8000/authorize
- Copy the Client ID and Client Secret
-
Create a
docker-compose.ymlfile:services:server:image: codeberg.org/crowci/crow-server:latestports:- "8000:8000"- "9000:9000"volumes:- crow-data:/var/lib/crowenvironment:- CROW_OPEN=true- CROW_HOST=http://localhost:8000- CROW_AGENT_SECRET=your-agent-secret- CROW_FORGEJO=true- CROW_FORGEJO_URL=https://codeberg.org- CROW_FORGEJO_CLIENT=your-oauth-client-id- CROW_FORGEJO_SECRET=your-oauth-client-secretagent:image: codeberg.org/crowci/crow-agent:latestdepends_on:- servervolumes:- /var/run/docker.sock:/var/run/docker.sockenvironment:- CROW_SERVER=server:9000- CROW_AGENT_SECRET=your-agent-secretvolumes:crow-data: -
Start Crow CI:
Terminal window docker compose up -d -
Log in at
http://localhost:8000with your forge account. -
Add your first pipeline by creating
.crow/build.yamlin your repository:steps:- name: testimage: alpinecommands:- echo "Hello from Crow CI!"- echo "Repository: ${CI_REPO}"when:event: [push, pull_request] -
Push the changes. Crow CI will automatically detect and run the pipeline.
What’s Next?
Section titled “What’s Next?”- Pipelines - Pipeline structure and execution
- Workflow Syntax - Complete configuration reference
- Secrets - Manage sensitive data
- Plugins - Extend functionality
- Server Configuration - Production options