Skip to content
Crow CI

Quickstart

Get Crow CI running in 5 minutes.

  • A Git forge account (Forgejo, Gitea, GitHub, GitLab, or Bitbucket)
  • Docker and Docker Compose installed
  • A repository to run pipelines on
  1. 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
    • See Forge OAuth2 Setup for detailed per-forge instructions
  2. Create a docker-compose.yml file:

    services:
      server:
        image: codefloe.com/crowci/crow-server:<version>
        ports:
          - "8000:8000"
          - "9000:9000"
        volumes:
          - crow-data:/var/lib/crow
        environment:
          - 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-secret
    
      agent:
        image: codefloe.com/crowci/crow-agent:<version>
        depends_on:
          - server
        volumes:
          - /var/run/docker.sock:/var/run/docker.sock
        environment:
          - CROW_SERVER=server:9000
          - CROW_AGENT_SECRET=your-agent-secret
    
    volumes:
      crow-data:
  3. Start Crow CI:

    docker compose up -d
  4. Log in at http://localhost:8000 with your forge account.

  5. Add your first pipeline by creating .crow/build.yaml in your repository:

    steps:
      - name: test
        image: alpine
        commands:
          - echo "Hello from Crow CI!"
          - echo "${CI_REPO}"
  6. Push the changes. Crow CI will automatically detect and run the pipeline.

Pipeline Success
Pipeline Success