Skip to main content
Usage: fal deploy [-h] [--debug] [--pdb] [--cprofile] [--app-name APP_NAME]
                  [--auth AUTH] [--strategy {recreate,rolling}] [--no-scale]
                  [app_ref]

Deploy a fal application. If no app reference is provided, the command will look for a pyproject.toml file with a  section and deploy the application specified with the provided app name.

Positional Arguments:
  app_ref               Application reference. Either a file path or a file path and a function name separated by '::'. If no reference is provided, the command will look for a pyproject.toml file with a  section and deploy the application specified with the provided app name.
                        File path example: path/to/myfile.py::MyApp
                        App name example: my-app

Options:
  -h, --help            show this help message and exit
  --app-name APP_NAME   Application name to deploy with.
  --auth AUTH           Application authentication mode (private, public).
  --strategy {recreate,rolling}
                        Deployment strategy.
  --no-scale            Use min_concurrency/max_concurrency/max_multiplexing from previous deployment of application with this name, if exists. Otherwise will use the values from the application code.

Examples:
  fal deploy
  fal deploy path/to/myfile.py
  fal deploy path/to/myfile.py::MyApp
  fal deploy path/to/myfile.py::MyApp --app-name myapp --auth public
  fal deploy my-app