Launch
ops launch [OPTIONS]Option
Default
Description
What It Does
File
Detection
Interactive Flow
Source Detection Logic
Examples
Generated Output
Last updated
ops launch [OPTIONS]Last updated
$ ops launch
OPS Launch
══════════
Scanning project...
✔ Detected: docker-compose.yml, docker-compose.prod.yml
✔ Detected: .env
✔ Language: Rust (Cargo.toml)
App name [my-project]:
Deploy source (git/push/image) [image]:
Deploy path [/opt/my-project]:
Target (e.g. prod.myproject, enter to skip):
Found docker-compose files:
1. docker-compose.yml
2. docker-compose.prod.yml
Use these compose files? [Y/n]:
Found .env file. Sync to remote? [Y/n]:
Health check URL (enter to skip):
✔ Generated ops.toml# Interactive mode (recommended)
ops launch
# Accept all defaults (CI-friendly)
ops launch --yes
# Generate to a custom file
ops launch -o ops.prod.tomlapp = "my-api"
deploy_path = "/opt/my-api"
[deploy]
source = "image"
compose_files = ["docker-compose.yml", "docker-compose.prod.yml"]
# [deploy.registry]
# url = "ghcr.io"
# token = "$GHCR_PAT"
[[env_files]]
local = ".env"
remote = ".env"
[[sync]]
local = "./docker-compose.yml"
remote = "docker-compose.yml"
[[sync]]
local = "./docker-compose.prod.yml"
remote = "docker-compose.prod.yml"
# [[healthchecks]]
# name = "Health"
# url = "http://localhost:8000/health"ops deploy