Set the parameter MARIADB_EXPOSE_PORT
MARIADB_EXPOSE_PORT=1234
Then run the docker compose:
docker-compose -p calisto_dev -f docker-compose.dev.yml up --build --detach
Specifying a custom .env file:
docker-compose --env-file .env.dev -p calisto_dev -f docker-compose.dev.yml up --build --detach
docker container stop calisto_mariadb.dev
docker container rm calisto_mariadb.dev
docker image rm calisto/mariadb.dev
docker volume prune -f
docker network prune -f
docker exec -it calisto_mariadb_dev bash
mysql -u <username> -p