- Update to latest version of SugarCRM Community Edition (6.5.23)
- Add persistence to SugarCRM image from docker-compose script (courtesy of fork by @johnosorio)
The full Github project defines a Docker Compose environment which runs SugarCRM in one container and a MySQL instance in another. To set up SugarCRM using this approach, please do the following:
- Install Docker and Docker Compose
- Clone the project from Github.
- Run
docker-compose up
from the root of this project. - Access
http://{docker_host}:2080
from your web browser to finish setting up SugarCRM.
If you already have MySQL installed or want to use a platform service line Amazon RDS, you can run the SugarCRM container seperately using Docker run. To set up SugarCRM using this approach, please do the following:
- Install Docker
- Run
docker run --name some-sugarcrm -e DB_HOST_NAME=yourhostname -e DATABASE_NAME=yourdatabasename -e DB_USER_NAME=yourusername -e DB_PASSWORD=yourpassword -e DB_TYPE=mysql -e DB_TCP_PORT=3306 -e DB_MANAGER=MysqlManager -p 2080:80 -d nishedcob/sugarcrm
- Access
http://{docker_host}:2080
from your web browser to finish setting up SugarCRM.
curl -L https://github.com/docker/compose/releases/download/1.3.3/docker-compose-`uname -s-
uname -m` > /usr/local/bin/docker-compose
docker-compose ps
docker-compose up
docker-compose up --no-recreate