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.
This page covers the dashboard. To do the same from a terminal in one command, see Deploy your app.
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.
Image size limit
The image you build must stay under 4 GB. Bigger images fail to build.
If you hit the limit:
- Copy only what the final stage needs — avoid
COPY . .in the final stage. - Use a smaller base image for the final stage.
- Remove build caches and temporary files inside the same
RUNstep that creates them. - Split the work into more than one image.