Skip to content
Crow CI
Codeberg

Server Core

Core server configuration variables.

  • Name: CROW_ADMIN
  • Description: List of admin users.
  • Default: none

  • Name: CROW_HOST
  • Description: Server fully qualified URL. Format: <scheme>://<host>[/<prefix path>]
  • Default: none

  • Name: CROW_OPEN
  • Description: Enable open user registration.
  • Default: false

  • Name: CROW_ORGS
  • Description: List of approved organizations.
  • Default: none

  • Name: CROW_REPO_OWNERS
  • Description: Repositories by those owners will be allowed to be used in Crow.
  • Default: none

  • Name: CROW_SERVER_ADDR
  • Description: Server address.
  • Default: :8000

  • Name: CROW_SERVER_ADDR_TLS
  • Description: Port HTTPS with TLS.
  • Default: :443

  • Name: CROW_SERVER_CERT
  • Description: Server SSL cert path.
  • Default: none

  • Name: CROW_SERVER_KEY
  • Description: Server SSL key path.
  • Default: none

  • Name: CROW_EXPERT_WEBHOOK_HOST
  • Description: Fully qualified Crow server URL called by forge’s webhooks. Format: <scheme>://<host>[/<prefix path>]. For experts only!
  • Default: none

  • Name: CROW_GRPC_ADDR
  • Description: gRPC address.
  • Default: :9000

  • Name: CROW_METRICS_SERVER_ADDR
  • Description: Metrics server address.
  • Default: none

  • Name: CROW_ENABLE_SWAGGER
  • Description: Enable Swagger API documentation.
  • Default: true

  • Name: CROW_ENABLE_HA
  • Description: Enable high availability mode with database-backed queue.
  • Default: false

  • Name: CROW_QUEUE_LOCK_TTL
  • Description: Time-to-live for the queue processing leader election lock in High Availability mode. If the leader node fails, other nodes must wait this duration before acquiring the lock.
  • Default: 30s

  • Name: CROW_CRON_LOCK_TTL
  • Description: Time-to-live for the cron scheduler leader election lock in High Availability mode. If the leader node fails, other nodes must wait this duration before acquiring the lock.
  • Default: 90s

  • Name: CROW_KEEPALIVE_MIN_TIME
  • Description: Server-side enforcement policy on the minimum amount of time a client should wait before sending a keepalive ping.
  • Default: none

  • Name: CROW_SESSION_EXPIRES
  • Description: Session expiration time.
  • Default: 72h

  • Name: CROW_STATUS_CONTEXT
  • Description: Status context prefix.
  • Default: ci/crow

  • Name: CROW_STATUS_CONTEXT_FORMAT
  • Description: Status context format.
  • Default: {{ .context }}/{{ .event }}/{{ .workflow }}{{if not (eq .axis_id 0)}}/{{.axis_id}}{{end}}

  • Name: CROW_DISABLE_VERSION_CHECK
  • Description: Disable version check in admin web UI.
  • Default: false

  • Name: CROW_DISABLE_USER_AGENT_REGISTRATION
  • Description: Disable user registered agents.
  • Default: false

  • Name: CROW_MIGRATIONS_ALLOW_LONG
  • Description: Allow long-running migrations.
  • Default: false

  • Name: CROW_CUSTOM_CSS_FILE
  • Description: File path for the server to serve a custom .CSS file, used for customizing the UI.
  • Default: none

  • Name: CROW_CUSTOM_JS_FILE
  • Description: File path for the server to serve a custom .JS file, used for customizing the UI.
  • Default: none

  • Name: CROW_DEV_WWW_PROXY
  • Description: Serve the website by using a proxy (used for development).
  • Default: none

  • Name: CROW_ENVIRONMENT
  • Description: Environment variables.
  • Default: none

  • Name: CROW_NETWORK
  • Description: Networks.
  • Default: none

  • Name: CROW_VOLUME
  • Description: Volumes.
  • Default: none

  • Name: CROW_CONTAINER_NAME_SCHEME
  • Description: Determines the naming scheme type for containers. Possible values are descriptive and hash. The descriptive scheme uses format <owner>-<repo>-<pipeline>-<workflow>-<stepname>-<stepnumber> for readability and uniqueness.
  • Default: descriptive

  • Name: CROW_CONFIG_SERVICE_ENDPOINT
  • Description: URL used for calling configuration service endpoint.
  • Default: none

  • Name: CROW_PROMETHEUS_AUTH_TOKEN
  • Description: Token to secure Prometheus metrics endpoint.
  • Default: none