0
0
opnxng-deploy-playbook/README.md

24 lines
1.4 KiB
Markdown
Raw Normal View History

2023-11-11 21:15:57 +08:00
# Ansible playbook for Opnxng deployment
2023-11-06 10:39:27 +08:00
2023-11-11 21:15:57 +08:00
An Ansible playbook to deploy Docker services to our servers and another to back up important data.
2023-11-06 10:39:27 +08:00
`ansible-playbook -i "production" "deploy.yml"`
2023-11-11 21:15:57 +08:00
`ansible-playbook -i "production" "back-up.yml"`
2023-11-06 10:39:27 +08:00
## Services
The services are hosted on one Vultr and four Oracle servers. A [variables file](vars/services.yml) defines the services to be deployed or already deployed.
They are deployed with [Compose files](templates/compose) and load balanced according to the [Caddyfile](templates/conf/Caddyfile.j2).
## Configurations
2023-11-11 21:15:57 +08:00
Our SearXNG instance uses a custom [settings.yml](templates/conf/settings.yml.j2) that always include upstream changes. It is updated by hand with reference to [Pussthecat.org's configuration](https://github.com/PussTheCat-org/PussTheCat.org-Configs/tree/master/Services/SearXNG). Thanks to [TheFrenchGhosty](https://github.com/PussTheCat-org).
Data of our Privatebin, Etherpad, and Gitea instance are backed up periodically.
2023-11-06 10:39:27 +08:00
2023-11-11 21:15:57 +08:00
Passwords and other sensitive data are kept locally as encrypted variables in [secrets.yml](vars/secrets.example.yml). We host an Authelia and Firefox stack that is restricted to specific users only. Their related files are also kept locally.
2023-11-06 10:39:27 +08:00
## Contact
Please contact us via [email](mailto:opnxng@tuta.io) if you discover any vulnerability or area for improvement in our infrastructure. We would truly appreciate it.