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 spantree/sugarcrm
- Access
http://{docker_host}:2080
from your web browser to finish setting up SugarCRM.