Apps
List, inspect, deploy, and redeploy applications.
List applications
nextune app listExample:
NAME STATUS SOURCE ID
my-api RUNNING docker 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6dUse --json for structured output.
Application details
nextune app get my-api
# or by ID
nextune app get 9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6dEdit application settings
Update configuration details for an existing application. You can modify the application name, container port, Docker image, image tag, or the deployment package plan.
nextune app edit my-apiIf you run this command without flags, it will open an interactive menu allowing you to select and edit individual fields.
Alternatively, you can provide flags to apply changes immediately:
nextune app edit my-api \
--name new-api-name \
--port 8080 \
--image nginx \
--tag 1.25 \
--package YOUR_PACKAGE_ID| Flag | Description |
|---|---|
--name | New application display name |
--port | Container port to expose |
--image | New Docker image name |
--tag | New Docker image tag |
--package | New deployment package ID |
Note: Updating these settings may require a redeploy for the changes to take effect.
Deploy from Docker image
Deploy a new application from a public or private registry image:
nextune app deploy \
--image nginx \
--tag latest \
--port 80 \
--package YOUR_PACKAGE_ID \
--name my-site \
--env NODE_ENV=production \
--env PORT=80| Flag | Required | Description |
|---|---|---|
--image | Yes | Docker image name |
--package | Yes | Deployment package ID from nextune packages list |
--tag | No | Image tag (default: latest) |
--name | No | Application display name |
--port | No | Container port to expose |
--env | No | Environment variables (KEY=VALUE) |
The CLI asks for confirmation unless you pass -y / --yes.
Redeploy
Restart an existing application (brief downtime possible):
nextune app redeploy my-apiConfirmation is required unless -y is set.
Related
- Environment Variables — manage application variables
- Logs — stream application logs
- Packages — find deployment package IDs