The mysql
image for docker allows configuration parameters when running the container.
$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
How is this achievable with docker-compose?
I've tried doing -command
but I couldn't get it to work.