Skip to content

Commit

Permalink
Merge pull request #126 from bohuspollak/patch-1
Browse files Browse the repository at this point in the history
updated docker compose settings for database
  • Loading branch information
luizeof authored Aug 17, 2019
2 parents a619c0f + 8f68fec commit c26fe59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ Example `docker-compose.yml` for `mautic`:
- mautic_data:/var/www/html
environment:
- MAUTIC_DB_HOST=127.0.0.1
- MYSQL_PORT_3306_TCP=3306
- MAUTIC_DB_USER=root
- MAUTIC_DB_PASSWORD=mysecret
- MAUTIC_DB_NAME=mautic
Expand All @@ -130,6 +131,9 @@ Example `docker-compose.yml` for `mautic`:

Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.

Run `docker inspect mautic_mauticdb_1 | grep IPAddress` to find out correct IP address of database container and setup the reference to mautic container in MAUTIC_DB_HOST environment variable.


# Supported Docker versions

This image is officially supported on Docker version 1.7.1.
Expand Down

0 comments on commit c26fe59

Please sign in to comment.