v3-push - Cloud Foundry CLI Reference Guide


NAME

v3-push - Push a new app or sync changes to an existing app

USAGE

cf v3-push APP_NAME [-b BUILDPACK]... [-p APP_PATH] [--no-route] cf v3-push APP_NAME --docker-image [REGISTRY_HOST:PORT/]IMAGE[:TAG] [--docker-username USERNAME] [--no-route]

OPTIONS

-b

Custom buildpack by name (e.g. my-buildpack) or Git URL (e.g. https://github.com/cloudfoundry/java-buildpack.git) or Git URL with a branch or tag (e.g. https://github.com/cloudfoundry/java-buildpack.git#v3.3.0 for v3.3.0 tag). To use built-in buildpacks only, specify default or null

--docker-image, -o

Docker image to use (e.g. user/docker-image-name)

--docker-username

Repository username; used with password from environment variable CF_DOCKER_PASSWORD

--no-route

Do not map a route to this app

-p

Path to app directory or to a zip file of the contents of the app directory

ENVIRONMENT

CF_DOCKER_PASSWORD= Password used for private docker repository
CF_STAGING_TIMEOUT=15 Max wait time for buildpack staging, in minutes
CF_STARTUP_TIMEOUT=5 Max wait time for app instance startup, in minutes