Deploying with Digital Ocean One-Click


Assuming you have a Digital Ocean account with an SSH key setup, click the following button to deploy apostello:

This will create a droplet, download apostello and run the ansible playbook to setup apostello.

Once you have an instance running you will need to configure it.


Log in to your server and edit the config file, updating the file according to the First Run instructions:

nano /home/apostello/apostello-install/ansible/env_vars/example.yml

Then rerun the installer:



To upgrade to a new version of apostello, you need to edit the install script:

nano /home/apostello/apostello-install/scripts/

and replace AP_VER=vx.x.x with a new version, then rerun the install script:


Switching to the Ansible Deploy Method

Having to log in to the droplet to update can be cumbersome. Since the one-click installer uses the ansible playbook method under the hood, it is easy to switch by setting up ansible on your own machine.

Set up:

# clone apostello:
git clone
cd apostello
# checkout a specific version:
git checkout |vversion|
# create a virtualenv (you need python2 already installed)
cd ansible
python2 -m virtualenv venv --no-site-packages
. venv/bin/activate
# install ansible
pip install ansible==

Now you need to copy your secrets into env_vars/example.yml (or copy the file from your existing server).

Run the upgrade:

ansible-playbook --ask-vault-pass -i [IP or Domain name of server], production.yml

Subsequent upgrades:

cd <path-to-apostello-folder>
git fetch
git checkout <version-tag>
cd ansible
. venv/bin/activate
ansible-playbook --ask-vault-pass -i [IP or Domain name of server], production.yml