Ansible playbook(s) for deployment of the Modelbrouwers.nl domain.
Contains the setup for container-based deployment of:
- webshop (OpenCart)
- Django
- forum (phpBB3)
Including the various databases:
- MySQL
- PostgreSQL
All of this is frontend by an nginx reverse proxy with Let's Encrypt TLS certificates.
pip install -r requirements.txt
You need root
access to the server and access with the application user
modelbrouw
over SSH via public key.
ansible-playbook -i environments/production/hosts full-deploy.yml
Available playbooks:
backups.yml
: configures the backupsdjango.yml
: updates the Django part of the siteapp.yml
: django part + webshop and forumfull-deploy.yml
:app.yml
+ server provisioning