Docker containers

Hostman puts everything into Docker containers, whether it's a back-end application or a static website.

Additionally, Hostman is able to launch Docker images from a Docker repository or build a custom image using a Dockerfile.

Building & launching from Git

Click Create a service in the top-left corner of your Dashboard to open this window, and choose Docker container:

enter image description here

Connect your GitHub, GitLab or Bitbucket repository. It should have a Dockerfile in the root directory. Hostman will also search for Dockerfiles in subdirectories.

Choose the location and hardware configuration of your container and click Deploy:

enter image description here

That's pretty much it. You'll enter the deployment log, where you can monitor the progress of building your custom Docker image.

Environment variables

You can set up environment variables both in the Dockerfile or using the Environment settings page in your Dashboard.