These variables are generally available for use in configuration
envthe current deployment environmentconfig_dirthe application config directory. Defaults todeployvault_dirthe value of~/.vaultorGIT_DEPLOY_VAULT_DIRenv var if setproject_rootthe root of the repository
supported_envskey-value pairs of deployment environment branches and merge-from branchesproject_namea config-friendly name for this projectapplicaton_userthe name of the remote system user who deploys and runs the application
env_setup_scriptthe shell script that is written during deployment and used for setting up execution environmentsenv_run_scriptshell script to execute arbtrary shell commands with the setup script environment sourcedinit_envenvironment variable key-value pairs that will be written toenv_setup_scriptservice_namethe name of the Upstart service that manages this applicationrequirements_filethe Python requirements.txt file with pip installable dependenciesvirtualenvthe virtual environment to install this project intopythonpython2 or python3application_dirthe python application directory. Often identical todeploy_dirused bydeploy.repository.ymlbut it could be a subdirectoryportthe port this application runs ongunicorn_reload(true|false) whether to pass the --reload flag to gunicornwsgi_applicationthe location of the wsgi file for this web applicationdjango_migrate(optional) (true|false) default: true. Whether to run migrate on a Django
project_repothe location of the git repository to deploydeploy_dirthe deployment destination for the repository on the remote hostgit_key_file(optional) git key file if needed
typethe type of this application (django|flask|repository|other)application_dir(seeapplication_dirdescription fordeploy.python.yml)static_service(optional) specify s3 for S3 sync support or leave undefined or empty for filesystem copy to web hosting directory (seestatic_destparameter)static_dirlocation of static files to be synced to s3static_destS3 endpoint or filesystem directory to copy static files intostaticbucket(deprecated) the s3 bucket to sync files into (<1.0.2 only. Usestatic_destnow)static_prepshell command which will be executed from theapplication_dirbefore static sync is executed (new in 1.0.4)
domainsspace-delimited list of domains this application listens onssl(optional) structure which contains the keys forssl_certificateandssl_certificate_keywhich are pointers to the remote locations of the appropriate files on the application serverportthe reverse-proxy port this application runs onnginx_template(optional) defaults to templates/nginx.j2 relative to git-deploy
(See common config requirements above)