Deploying Faveo Helpdesk on Docker
Faveo Helpdesk Docker
A pretty simplified Docker Compose workflow that sets up a network of containers for Faveo Helpdesk.
All the Faveo Helpdesk editions are supported except the community edition.
To get started, make sure you have Docker and Docker-Compose installed on your system, and then clone the below Git-Hub repository with the below link.
Next, navigate in your terminal to the directory you cloned this, and give the executable permission to faveo-run.sh bash script.
chmod +x faveo-run.sh
Prerequisites To run the script:
- A valid domain name fully propagated to your Server’s IP.
- Sudo Privilege.
- Faveo license and Order number. (this can be obtained from billing https://billing.faveohelpdesk.com).
- Unreserved ports 80 and 443. (If it is reserved feel free to edit and change the ports of your choice in docker-copompose.yml)
- Operating Systems Centos 7,8 or above and Ubuntu 16,18,20.
Complete the below steps to get the Containers up.
Run the script “faveo-run.sh” by passing the necessary arguments.
Note: You should have a Valid domain name pointing to your public IP. Since this domain name is used to obtain SSL certificates from Let’s Encrypt CA and the Email is used for the same process. The license code and Order Number can be obtained from your Faveo Helpdesk Billing portal, make sure not to include the ‘#’ character in the Order Number.
./faveo-run.sh -domainname <your domainname> -email <firstname.lastname@example.org> -license <faveo license code> -orderno <faveo order number>
Example: It should look something like this.
./faveo-run.sh -domainname berserker.tk -email email@example.com -license 5H876********** -orderno 8123******
After the docker installation is completed you will be prompted with Database Credentials please copy and save them somewhere safe and a cronjob will be set to auto-renew SSL certificates from Letsencrypt
Visit https://yourdomainname complete the readiness probe, input the Database Details when prompted, and complete the installation.
There is one final step that needs to be done to complete the installation. You have to edit the .env file which is generated under the Faveo root directory after completing the installation in the browser. Open the terminal and navigate to the faveo-docker directory here you will find the directory “faveo” which is downloaded while running the script this directory contains all the Helpdesk codebase, inside it, you need to edit the “.env” file and add REDIS_HOST=faveo-redis. The “faveo-redis” is the DNS name of the Redis container. Finally, run the below command for changes to take effect.
docker-compose down && docker-compose up -d