Below you can find an example config for the docker compose configuration
mysql:
image: inventis/mysql:5.7
ports:
- "3306:3306"
volumes:
# store mysql state on the host machine
- ./docker/containerstate/mysql/5.7:/var/lib/mysql
environment:
MYSQL_DATABASE: <DATABASE NAME HERE>
MYSQL_ROOT_PASSWORD: <ROOT PASSWORD HERE>
command: mysqld --sql_mode=""
Content type
Image
Digest
Size
118.5 MB
Last updated
over 7 years ago
docker pull inventis/mysql