The full Github project defines a Docker Compose environment which runs SuiteCRM in one container and a MySQL instance in another. To set up SuiteCRM using this approach, please do the following:
- Install Docker and Docker Compose
- Run
docker-compose up
from the root of this project. - Access
http://{docker_host}:8080
from your web browser to finish setting up SuiteCRM.
If you already have MySQL installed or want to use a platform service like Amazon RDS, you can run the SuiteCRM container seperately using Docker run. To set up SuiteCRM using this approach, please do the following:
- Install Docker
- Run
docker run --name some-suitecrm -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/suitecrm
- Access
http://{docker_host}:2080
from your web browser to finish setting up SuiteCRM.
- When you get : "Warning: sugar_file_put_contents_atomic() : fatal rename failure" look here : https://community.sugarcrm.com/thread/19749