This is a dockerized version of the SuiteCRM open source CRM. for the official github project please see here: https://github.com/salesagility/SuiteCRM
This project only prepares the existing SuiteCRM version for a easy to use Docker Development Image. This image is not intended for production use!
All Images are public available on Dockerhub. Image tags rely on the SuiteCRM release naming convention. To get a specific release pull the image as following:
docker pull bertschiweb/suitecrm:<SuiteCRM-Release>
Proper Versions for example:
- 7.7.6
- 7.6.8
For a list of all available Versions please see Dockerhub Tags
Best use this image with the official docker-mysql image. This has been tested and just works.
Prerequisites: A working docker environment
-
Setup the Mysql Server
docker run -d -e MYSQL_ROOT_PASSWORD=scrmdbpass -e MYSQL_DATABASE=suitecrm --name mysqlserver mysql:5.7
-
Setup SuiteCRM. Enter the port you would like to expose
docker run -d -p 8020:80 8443:443 --link mysqlserver --name suitecrmserver bertschiweb/suitecrm
-
Open your browser and enter the url
http://yourdockerserver:8020
-
Done!
- Run Vagrant Box and connect
- change directory to
/vagrant
- Build:
docker build -t suitecrm .
- Run:
docker run -d -p 8020:80 -p 8443:443 --link mysqlserver --name suitecrmserver suitecrm
To persist your configuration the following files have to be mounted as Volume
- /upload
- /config.php
docker run -d -p 8020:80 --link mysqlserver --name suitecrmserver -v /opt/localpath/upload:/var/www/html/upload -v /opt/localpath/upload:/var/www/html/config.php suitecrm