Skip to main content

defang compose up

Reads a Compose file and deploy a new project or update an existing project

defang compose up [flags]

Options

  -d, --detach             run in detached mode
--force force a build of the image even if nothing has changed
-h, --help help for up
-m, --mode mode deployment mode, possible values: development, staging, production (default development)
--wait-timeout int maximum duration to wait for the project to be running|healthy (default -1)

Options inherited from parent commands

      --color color-mode      colorize output; one of [never auto always] (default auto)
-C, --cwd string change directory before running the command
--debug debug logging for troubleshooting the CLI
--dry-run dry run (don't actually change anything)
-f, --file stringArray compose file path
-T, --non-interactive disable interactive prompts / no TTY (default true)
--org string Override GitHub organization name (tenant)
-p, --project-name string project name
-P, --provider provider bring-your-own-cloud provider; one of [defang aws digitalocean gcp] (default auto)
-v, --verbose verbose logging

SEE ALSO

Auto generated by spf13/cobra on 20-Dec-2024