Get Started
Shipfile
A Shipfile is a simple YAML configuration file that automates your application deployment. It specifies setup commands and runtime instructions for your app.
Basic Structure
Key Commands
script (Pre-run Commands)
-
Runs before your main application starts
-
Use for dependencies, migrations, or setup
-
Supports single or multi-line commands
- Single-line:
- Multi-line:
run (Entrypoint)
- Mandatory command to start your application, for example:
The
run
command is always one line.Important Notes For Webservers
-
Since the applications will run in their own isolated environment, you need to specify the
HOST
andPORT
-
The
HOST
must be0.0.0.0
-
Ports will be auto-detected from any of these patterns:
- Default port: 8000 if none detected
Some Examples:
FastAPI
Django
Node.js
More examples are available in the examples section