mirror of
https://github.com/elyby/accounts.git
synced 2024-12-26 23:20:18 +05:30
Фикс для кодировки в mariadb
This commit is contained in:
parent
cfd8ba95ef
commit
7315ddc4ea
@ -1,6 +1,6 @@
|
|||||||
FROM mariadb:10.0
|
FROM mariadb:10.0
|
||||||
|
|
||||||
COPY mariadb.cnf /etc/mysql/conf.d
|
COPY custom.cnf /etc/mysql/conf.d/
|
||||||
|
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
CMD ["mysqld"]
|
CMD ["mysqld"]
|
||||||
|
9
docker/mariadb/custom.cnf
Normal file
9
docker/mariadb/custom.cnf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[mysql]
|
||||||
|
default-character-set = utf8
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
character-set-server = utf8
|
||||||
|
collation-server = utf8_general_ci
|
||||||
|
|
||||||
|
[client]
|
||||||
|
default-character-set = utf8
|
Loading…
Reference in New Issue
Block a user