diff --git a/README.md b/README.md index b520951b..f77d1b47 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.