Skip to content

Install using Docker

Casper Bottelet edited this page Jun 23, 2020 · 6 revisions

To install CRM on docker, first you need to have installed Docker. For installation follow its official documentation (if you are a linux user you should also install docker-compose).

On the project path where CRM is cloned, run docker-compose up to build, create and start containers defined. If it is the first time you are using those images, it will first download the images from hub which may take some time. So it is time to grab a cup of coffee.

If nothing goes wrong you should see a couple of containers are running on your machine. To see them you can type: docker ps

To browse the CRM, you can go to localhost:8000

The ports of all the services like MySQL, Redis, etc. were intentionally changed to custom ones to not to conflict with the default ones that may be installed and running on machine. For example, to connect to MySQL here is the credentials:

host: localhost
username: root
password: root
database: daybyday

To get credentials of other services you may want to see docker-compose.yml and docker files under .docker

Debugging

Sometimes you may need to bash into a specific container for debugging purposes. To do that:

docker exec -i -t {CONTAINER_ID} bash
Clone this wiki locally