This guide uses Docker Compose to run Vtiger CRM. Note: Vtiger CRM does not maintain an official Docker image. This guide uses community-maintained images.
For Docker installation, see Docker.
Vtiger CRM does not provide an official Docker image. Available options include:
cat <<'YAML' > docker-compose.yml
services:
mariadb:
image: mariadb:10.6
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: change-me-root-password
MYSQL_DATABASE: vtiger
MYSQL_USER: vtiger
MYSQL_PASSWORD: change-me-db-password
volumes:
- mariadb_data:/var/lib/mysql
networks:
- vtiger-network
vtigercrm:
image: vtigercrm/vtigercrm-8.2.0:latest
restart: unless-stopped
depends_on:
- mariadb
ports:
- "8080:80"
environment:
DB_HOSTNAME: mariadb
DB_PORT: 3306
DB_NAME: vtiger
DB_USERNAME: vtiger
DB_PASSWORD: change-me-db-password
DB_ROOT_PASSWORD: change-me-root-password
volumes:
- vtiger_data:/var/www/html
networks:
- vtiger-network
networks:
vtiger-network:
driver: bridge
volumes:
mariadb_data:
driver: local
vtiger_data:
driver: local
YAML
docker compose up -d
Open http://YOUR-SERVER:8080 and complete the installation wizard.
During installation:
mariadbvtigervtigerchange-me-db-passwordFor production use, consider building a custom Docker image:
FROM php:8.2-apache
# Install PHP extensions
RUN docker-php-ext-install mysqli pdo pdo_mysql
# Download Vtiger CRM
RUN curl -L -o /tmp/vtiger.zip https://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM/9.0.0/vtigercrm-9.0.0.zip
RUN unzip /tmp/vtiger.zip -d /var/www/html/
RUN rm /tmp/vtiger.zip
# Set permissions
RUN chown -R www-data:www-data /var/www/html
vtigercrm/vtigercrm-8.2.0 image is community-maintained.If the container fails to start:
docker compose logs vtigercrmdocker compose exec vtigercrm ping mariadbdocker compose exec vtigercrm ls -la /var/www/htmlAny questions?
Feel free to contact us. Find all contact information on our contact page.