Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add database password to docker installation instructions #805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/administration/docker/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,26 @@ $ docker run --name mysql -e MYSQL_ROOT_PASSWORD=password -d mysql:8 --default-a
Run EspoCRM container:

```
$ docker run --name my-espocrm --link mysql:mysql -d espocrm/espocrm
$ docker run --name my-espocrm -e ESPOCRM_DATABASE_PASSWORD=password --link mysql:mysql -d espocrm/espocrm
```

- `my-espocrm` — name of EspoCRM container,
- `mysql:mysql` — name (link) of MySQL container,
- `ESPOCRM_DATABASE_PASSWORD=password` — `password` should match `MYSQL_ROOT_PASSWORD` set in the previous step,
- `espocrm/espocrm` — [EspoCRM image](https://hub.docker.com/r/espocrm/espocrm/tags) version.

#### Run EspoCRM container via a specific port:

```
$ docker run --name my-espocrm -p 8080:80 --link mysql:mysql -d espocrm/espocrm
$ docker run --name my-espocrm -e ESPOCRM_DATABASE_PASSWORD=password -p 8080:80 --link mysql:mysql -d espocrm/espocrm
```

Then, access it via `http://localhost:8080` with credentials admin and password.

#### Run EspoCRM via a specific IP or a domain with a port:

```
$ docker run --name my-espocrm -e ESPOCRM_SITE_URL=http://172.20.0.100:8080 -p 8080:80 --link mysql:mysql -d espocrm/espocrm
$ docker run --name my-espocrm -e ESPOCRM_SITE_URL=http://172.20.0.100:8080 -e ESPOCRM_DATABASE_PASSWORD=password -p 8080:80 --link mysql:mysql -d espocrm/espocrm
```

Then, access it via `http://172.20.0.100:8080` with credentials **admin** and **password**.
Expand Down