1.4 KiB
Ansible playbook for Opnxng deployment
An Ansible playbook to deploy Docker services to our servers and another to back up important data.
ansible-playbook -i "production" "deploy.yaml"
ansible-playbook -i "production" "back-up.yaml"
Services
The services are hosted on one Vultr and four Oracle servers. A variables file defines the services to be deployed or already deployed.
They are deployed with Compose files and load balanced according to the Caddyfile.
Configurations
Our caddy server blocks IP ranges that have been involved in mass spams or botnets. The mass spam block range file is created by ProjectSegfault. The botnet block range file is created by return42. Thanks to their team.
Data of our Privatebin, Etherpad, and Gitea instances are backed up periodically.
Passwords and other sensitive data are kept locally as encrypted variables in secrets.yaml.
Contact
Please contact us via email if you discover any vulnerability or area for improvement in our infrastructure. We would truly appreciate it.