Public | Automated Build

Last pushed: 5 months ago
Short Description
SugarCRM 6.5.X Community Edition configured with Apache HTTPD and PHP 5.6
Full Description

How to use this image

Running with Docker Compose

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:

  1. Install Docker and Docker Compose
  2. Clone the project from Github.
  3. Run docker-compose up from the root of this project.
  4. Access http://{docker_host}:2080 from your web browser to finish setting up SugarCRM.

Running with Docker Run

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:

  1. Install Docker
  2. 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 spantree/sugarcrm
  3. Access http://{docker_host}:2080 from your web browser to finish setting up SugarCRM.
Docker Pull Command
Owner
spantree
Source Repository

Comments (5)
shurikrulik
3 months ago

Maybe my comment save hours for somebody. When i stoped container that i ran from this image, it didn't remove apache2.pid files, and i got this errore mesage: " httpd (pid 12) already running ". Sugarcrm didn't works , when container start next time. I had manually remove these files from /var/lib/docker/aufs/diff/(some_id)/run/apache2/apache2.pid to fix it, container started without errors after that, and sugarcrm worked fine.

diurco89
a year ago

Hi,

Thank you for this docker configuration.

I have one issue with imap php library.

"Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module. Please contact your administrator to resolve this issue. "

This eror appears when i try to add new inbound email. (outbound emails working good)

I'm tried to add in docker php5-imap but it says that already exist. Can you please advice?

ufojun
a year ago

Good day to you.
Thank you for your work .
but when checking dependencies
swears

IMAP Module Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.

Upload File Size Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded.

stevenwck
a year ago

Thanks for this. I'm new to docker and just followed your instructions and worked flawlessly.

1 Comment - when setting up sugarcrm for the first time, it asks for the MySQL host IP and password which is already automatically filled in. In my ignorance, I tried to change the IP and password of the host and it didn't work. So I did an undo and just clicked Next and found out it worked without needing to change the settings. Perhaps the Readme could be updated to include this.

Just 1 question... what is the MySQL username and password?

divideby0
2 years ago

Thanks for checking this out. Per the Github issue, I've updated the README to make it clearer that you need to clone the Github project to spin this up via Docker Compose.