- Front : zerodechet.io
- API : api.zerodechet.io
We are using Scaleway's instances.
Scaleway's selected servers provides more environmentally friendly services, using simultaneously direct air cooling combined with an adiabatic system.
Our instance IPs list is in the following file : ./automation/inventory/hosts
Change directory to automation/ansible
Install ansible roles :
$ ansible-galaxy role install -r ./requirements.yml -p ./roles
In order to accelerate github runner's deployment roles are commited and not ignored.
Write the vault pass in file named .vault_pass.
Launch the following command :
$ ansible-playbook ./production.yml -i ./inventory/hosts --key /path/to/ssh-private-key --vault-password-file ./.vault_pass
- common: make a
apt-get updateon the server - docker: Install docker on the server
- pip: Install python on the server
- site: Install python docker, docker-compose modules on the server and launch
docker-compose upon the server.