simple-docker-compose

docker-compose up

# Wait until the MySQL container is up

# In another terminal:
docker exec -it simple-docker-compose_otherdb_1 mysql --host db