These variables are generally available for use in configuration
env
the current deployment environmentconfig_dir
the application config directory. Defaults todeploy
vault_dir
the value of~/.vault
orGIT_DEPLOY_VAULT_DIR
env var if setproject_root
the root of the repository
supported_envs
key-value pairs of deployment environment branches and merge-from branchesproject_name
a config-friendly name for this projectapplicaton_user
the name of the remote system user who deploys and runs the application
env_setup_script
the shell script that is written during deployment and used for setting up execution environmentsenv_run_script
shell script to execute arbtrary shell commands with the setup script environment sourcedinit_env
environment variable key-value pairs that will be written toenv_setup_script
service_name
the name of the Upstart service that manages this applicationrequirements_file
the Python requirements.txt file with pip installable dependenciesvirtualenv
the virtual environment to install this project intopython
python2 or python3application_dir
the python application directory. Often identical todeploy_dir
used bydeploy.repository.yml
but it could be a subdirectoryport
the port this application runs ongunicorn_reload
(true|false) whether to pass the --reload flag to gunicornwsgi_application
the location of the wsgi file for this web applicationdjango_migrate
(optional) (true|false) default: true. Whether to run migrate on a Django
project_repo
the location of the git repository to deploydeploy_dir
the deployment destination for the repository on the remote hostgit_key_file
(optional) git key file if needed
type
the type of this application (django|flask|repository|other)application_dir
(seeapplication_dir
description 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_dest
parameter)static_dir
location of static files to be synced to s3static_dest
S3 endpoint or filesystem directory to copy static files intostaticbucket
(deprecated) the s3 bucket to sync files into (<1.0.2 only. Usestatic_dest
now)static_prep
shell command which will be executed from theapplication_dir
before static sync is executed (new in 1.0.4)
domains
space-delimited list of domains this application listens onssl
(optional) structure which contains the keys forssl_certificate
andssl_certificate_key
which are pointers to the remote locations of the appropriate files on the application serverport
the reverse-proxy port this application runs onnginx_template
(optional) defaults to templates/nginx.j2 relative to git-deploy
(See common config requirements above)