Skip to content

Instantly share code, notes, and snippets.

@warmos9
warmos9 / docker-compose.yaml
Last active September 24, 2022 17:10 — forked from w0rldart/docker-compose.yaml
MariaDB docker-compose with UTF8 Collation and persistent data
version: '3.1'
services:
db:
image: mariadb
restart: always
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --init-connect='SET NAMES UTF8;' --innodb-flush-log-at-trx-commit=0
ports:
- 3306:3306