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