Skip to content

Commit

Permalink
Add shutdown information to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Kunzmann committed Mar 15, 2018
1 parent 92db51b commit e76e22b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ This will spawn all MariaDB instances, MaxScale and Replication Manager, and cal
script (located at `setup/setup.sh`) which creates permissions, sets up initial replication
in the clusters and the warehouse and creates some database tables to use.

To stop, do

```sh
docker-compose down -v
```

## Default configuration & exposed ports

The MaxScale container is configured to use the `readwritesplit` router. It exposes cluster
A on host level at port `3306` and cluster B on port `3307`. If you want to connect with the
mysql cli from your host, be sure to use `127.0.0.1` as hostname instead of `localhost`,
Expand Down

0 comments on commit e76e22b

Please sign in to comment.