Only show guides for your app
Create a server that runs your own container image or your repository's code, what the image needs, how updates and variables work, and what each plan allows.
A container server runs software you bring yourself, either as a container image from a registry or as code in a Git repository. To create one, go to What are you hosting? on the create page, open the Applications tab and pick Deploy from GitHub or Docker image.
Pick Docker image when your project already ships as an image on Docker Hub, GitHub Container Registry or another registry. Pick Deploy from GitHub when your code lives in a repository and runs on a common runtime such as Node.js.
For a game or one of the regular app types, you need neither. Pick the game or app instead, and the Add files from GitHub card copies a repository into that server once it installs.
Leo publishes his status API as ghcr.io/leo/status-api:1.4.
Falix pins the image to the exact digest you checked. If Leo pushes a new 1.4 later, his server keeps running the build he checked until he updates the image.
npm install && npm start for Node.js 22. It runs from /home/container with a shell.A Setting up page then follows the install, the image, the file copy and the first start. If a step fails, its Deploy log says why and Retry runs the setup again.
A server you already have can switch too. Deploy this repository on its Git page moves it to the Custom Docker application and keeps its files.
| Requirement | Why |
|---|---|
| Runs without root | Falix runs every container as an unprivileged user |
Listens on 0.0.0.0 and PORT |
Falix passes your server's port in PORT, and 127.0.0.1 can't be reached from outside |
Has a linux/amd64 build |
Falix nodes are amd64, and other images are refused |
| Fits your plan's size limit | A bigger image is refused at the check |
| Has a shell, for a start command | Without one, use the image's own entrypoint |
Your program should keep its data in /home/container, because files there are kept across restarts and image updates.
For a Docker image server, push the new image to your registry, then open Settings, go to the Startup tab and open Image source. Choose Custom image, press Check image and then Save image, and restart the server to run it.
For a repository server, push to your branch and press Deploy latest on the Git page, or let deploy on push do it. Set Post-deploy action on that page's Settings tab to Restart server, and each deploy starts your new code. Deploy from Git covers the Git page.
Open Settings, then the Environment tab, and press Add variable under Custom variables. A server holds up to 500, and changes apply after the server restarts.
| What you see | Usual cause | Fix |
|---|---|---|
| "This image expects to run as root" | The image is built for root | Use a non-root image such as nginxinc/nginx-unprivileged, or add a USER line to your Dockerfile |
| "No linux/amd64 build in this image" | The tag has only other platforms, such as arm64 | Pick a tag that publishes a linux/amd64 manifest |
| "This image is bigger than your plan allows" | It's over your plan's limit | Pick a slimmer tag, such as an -alpine or -slim one |
| The server runs but nobody can connect | The program listens on another port or on 127.0.0.1 |
Listen on 0.0.0.0 and the port in PORT |
For anything else, start with the console and When your server won't start.