Fully supported
Coming soon
Coming soon
Coming soon
The Shipfile is a configuration file that controls your app's deployment. It uses a YAML-like syntax and supports two main commands:
Used for running commands before the main application starts.
Single line command:
script: python manage.py migrateMultiple line commands:
script: |
python manage.py makemigrations
python manage.py migrateSpecifies the command to start your application.
Examples:
run: python main.pyrun: uvicorn main:app --host 0.0.0.0 --port 8000Here are some complete Shipfile examples:
Basic Django application:
script: python manage.py migrate
run: gunicorn myproject.wsgi:applicationFastAPI application with multiple setup steps:
script: |
pip install -r requirements.txt
alembic upgrade head
run: uvicorn main:app --host 0.0.0.0 --port 8000Node.js application:
script: npm install
run: node server.jsRemember, the Shipfile should be placed in the root directory of your project and named exactly Shipfile (no file extension).
your-app-name.deploy.tz