This is a fork of https://github.com/pimuzzo/vtiger. To allow mount of a volume on to the directory /var/www/html. The image is being presently used for deploying a Vtiger solution on Kubernetes. All the components of kubernetes are in HA, MariaDB is in HA, and using this image Vtiger also can now be deployed in HA. You can choose between:
docker build -t vtiger . (in the same path of your Dockerfile)
docker pull rahulosp/vtiger
You need a DB container, you can choose between:
docker run --name mariadb -d -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=vtiger -e MYSQL_USER=vtiger_user -e MYSQL_PASSWORD=pwd --net=host mariadb
docker run --name mysql -d -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=vtiger -e MYSQL_USER=vtiger_user -e MYSQL_PASSWORD=pwd --net=host mysql:5.5
Then run Vtiger container:
docker run --name vtiger -d -e DB_HOSTNAME=127.0.0.1 -e DB_USERNAME=vtiger_user -e DB_PASSWORD=pwd -e DB_NAME=vtiger -p 80:80 --net=host pimuzzo/vtiger
Follow the steps: http://localhost/vtigercrm