Skip to main content

Deploying from a Git Repository

You can deploy apps on Hostim.dev directly from a Git repository. Hostim will build your app and run it inside a container.

This is useful for Node.js, Python, Go, and other common web stacks.

Supported repositories

You can deploy from:

  • Public Git repositories (GitHub, GitLab, etc.)
  • Private GitHub repositories using Personal Access Tokens

Connecting your GitHub account

You can connect your GitHub account to interactively browse and select a repository and branch from your dashboard. This is the easiest way to deploy from private repos.

  • No need to manually enter repo URLs or tokens.
  • The access token is securely set for you after authorization.
  • You can switch between manual and GitHub-connected modes.

To manage or revoke GitHub access later, see How can I manage GitHub access for deployments?.


How to deploy

  1. Go to your Hostim.dev dashboard
  2. Open your project and click Create Service -> New App.
  3. Give your App a name
  4. Choose Git as in the Deployment Type field.
  5. If GitHub is connected, browse and select the repository and branch interactively.
  6. If entering manually, provide the full Git URL, for example: https://github.com/your-username/your-repo.git.
  7. Select the branch you want to deploy (default is main)
  8. (Optional) Provide Personal Access Token for private repositories.
  9. Provide a relative path to the Dockerfile if needed. (default is Dockerfile)
  10. Select number of replicas and a plan.
  11. Click Create App

Hostim will fetch your code, build it, and start the container automatically.


Build options

You can:

  • Select the branch you want to deploy (default is main)
  • Select a Dockerfile path if needed. (default is Dockerfile)
  • Provide a Personal Access Token for private repositories.

Next steps