Skip to content

Docker hosting

Docker hosting.

Python, Go, Ruby, PHP, Java or a custom Node.js setup: if it has a Dockerfile, Lahyer builds the image and runs the container, with HTTPS, logs, preview deployments and rollbacks.

Deploy your project
Any languageIf it has a Dockerfile
Your portFrom EXPOSE, or the PORT variable
RollbacksWithout rebuilding

What Lahyer does with it

How Docker builds and runs.

Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.

How Lahyer builds and runs Docker
Detected fromA Dockerfile in the project root. When a framework is also found, choose Dockerfile in the build settings
BuildLahyer builds the image from your Dockerfile
PortThe port from EXPOSE in the Dockerfile, or the PORT variable (3000 by default)
Runs asYour container, behind HTTPS on a global edge

Docker documentation

Your first deploy

Three steps
to a live URL.

Connect the repository.

Import it from GitHub or GitLab, or deploy a folder with the Lahyer CLI.

Listen on the right port.

Declare the port with EXPOSE, or read the PORT environment variable. You can also set the port in the project settings.

Push and ship.

Every push builds a new image and deploys it. Earlier deployments stay available for a rollback without rebuilding.

A few useful answers

Before you begin.

Which languages can I deploy?

Anything that builds into a Linux container from a Dockerfile: Python, Go, Ruby, PHP, Java, Rust, .NET and more.

Lahyer detected a framework, but I want my Dockerfile.

Choose Dockerfile as the framework in the project's build settings. Lahyer then builds and runs your image instead.

Will my container sleep on the free plan?

Server apps on Free sleep when idle and start again on the next request, which can take a moment. Pro keeps one production app always on.