Skip to content

Deploy from Git

Instead of building an image yourself, you can connect a Git repository and let BitsReef build it into a container image and deploy it — in a sandboxed builder with restricted network egress.

In the dashboard, open Settings → Git and connect your GitHub or GitLab account via OAuth. This lets BitsReef list your repositories and pull source for builds.

  1. On the project canvas, click Add Service and give it a name.
  2. Set Source Type to Git Repository.
  3. Pick the Repository (search your connected repos) and the branch.
  4. If your repo has a Dockerfile, point to it (and a build context if needed); set the Port your app listens on.
  5. Click Create Service. The build runs in a sandbox — watch the build logs live in the service’s Deploys tab.

The Add Service panel with Git Repository selected

  • Builds run on isolated worker nodes in a restricted sandbox — no access to host resources and limited outbound network.
  • A successful build produces an image that’s stored and rolled out as a normal service.
  • Each build+deploy is recorded as a deployment with its logs, so you can roll back.

Trigger a rebuild from the service’s Deployments tab in the dashboard, or from the CLI:

Terminal window
bitsreef deploy rebuild --service web
bitsreef deploy status # watch recent deployments