The blog about containerisation, virtual machines and useful shell snippets and findings

MySQL collation in docker

в docker-compose.yml

db:
  image: mysql:5
  environment:
    - MYSQL_DATABASE=vtiger
    - MYSQL_USER=vtiger
    - MYSQL_PASSWORD=nexus-bla
    - MYSQL_ROOT_PASSWORD=nexus-bla
  command:
    - --character-set-server=utf8
    - --collation-server=utf8_general_ci