Connect the repository.
Import it from GitHub or GitLab, or deploy a folder with the Lahyer CLI.
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 projectWhat Lahyer does with it
Lahyer fills these in from your repository. Change anything that does not fit in the project's build settings.
| Detected from | A Dockerfile in the project root. When a framework is also found, choose Dockerfile in the build settings |
|---|---|
| Build | Lahyer builds the image from your Dockerfile |
| Port | The port from EXPOSE in the Dockerfile, or the PORT variable (3000 by default) |
| Runs as | Your container, behind HTTPS on a global edge |
Your first deploy
Import it from GitHub or GitLab, or deploy a folder with the Lahyer CLI.
Declare the port with EXPOSE, or read the PORT environment variable. You can also set the port in the project settings.
Every push builds a new image and deploys it. Earlier deployments stay available for a rollback without rebuilding.
A few useful answers
Anything that builds into a Linux container from a Dockerfile: Python, Go, Ruby, PHP, Java, Rust, .NET and more.
Choose Dockerfile as the framework in the project's build settings. Lahyer then builds and runs your image instead.
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.