Installation
Download this repository using Git
$ git clone https://github.com/ivolga-tech/humansignals-devops.git
$ cd humansignals-devops/ansible
Create a hosts file with your data
Use this command to create a hosts file with your credentails such as destination IP and user with sudo privileges.
$ VM_IP=<destination IP> VM_USER=<sudo user> envsubst < hosts.example > hosts
Set your domain
- Open the
group_vars/humansignals.yml
- Change the
server.host
value
Certificate configuration
If you want to use Let's Encrypt certificate:
- Open the
group_vars/humansignals.yml
- Change the
production
value totrue
Clickhouse configuration
If you want to use external ClickHouse cluster:
- Open the
group_vars/humansignals.yml
- Change the
clickhouse.internal
value tofalse
- Set all other
clickhouse.*
values
ClickHouse version must be >=21.6.0 and <22.4.0. Humansignals may not work correctly with another version.
Install Ansible dependencies
$ ansible-galaxy install -r requirements.yml
Run Ansible Playbook
$ ansible-playbook -i hosts main.yml
Now you have to wait ~30 minutes.
Check your HumanSignals installation
- Open the web browser
- Enter your domain or use the default
- Congratulations! 🎉🎉🎉