.circleci | ||
.idea | ||
assets/images | ||
bin | ||
config/default | ||
scripts/development | ||
tools/ansible | ||
web | ||
.gitignore | ||
.php-version | ||
ansible.cfg | ||
composer.json | ||
composer.lock | ||
docker-compose.yaml | ||
php.ini | ||
phpstan.neon | ||
README.md |
oliverdavies.uk
Hosting
This site is hosted on a DigitalOcean droplet, which was created using Ansible (see tools/ansible/digitalocean.yml
).
Provisioning
To re-provision the server:
# Download the required roles
ansible-galaxy install -r tools/ansible/requirements.yml --force
# Run the provision playbook
ansible-playbook tools/ansible/provision.yml
Deploying
Deployments for this site for managed with Ansible and Ansistrano. Ansible Vault is used to manage sensitive information like database passwords.
Deployments are triggered automatically when changes are pushed to GitHub, and are performed via CircleCI.
To run a deployment manually, run ansible-playbook tools/ansible/deploy.yml --ask-vault-pass
.
The Vault password is stored in LastPass.