From 5420076c8eb78eb51b1990dee0d217c794030d64 Mon Sep 17 00:00:00 2001 From: phantomlan Date: Sat, 21 Oct 2023 17:33:58 +0200 Subject: [PATCH] - update docker-compose database charset and collation to utf8mb4 - update TODO list in docker guide - update readme.md --- docker-compose.yml | 4 ++-- docs/INSTALL_DOCKER.md | 3 ++- readme.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3e349b0..6057c34 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,8 +35,8 @@ services: MYSQL_USER: aime MYSQL_PASSWORD: aime MYSQL_ROOT_PASSWORD: AimeRootPassword - MYSQL_CHARSET: utf8 - MYSQL_COLLATION: utf8_general_ci + MYSQL_CHARSET: utf8mb4 + MYSQL_COLLATION: utf8mb4_general_ci ##Note: expose port 3306 to allow read.py importer into database, comment out when not needed #ports: # - "3306:3306" diff --git a/docs/INSTALL_DOCKER.md b/docs/INSTALL_DOCKER.md index f0cf81a..1ea9631 100644 --- a/docs/INSTALL_DOCKER.md +++ b/docs/INSTALL_DOCKER.md @@ -200,4 +200,5 @@ This will fix errors loading data from server. ## read.py "Can't connect to local server through socket '/run/mysqld/mysqld.sock'" sqlalchemy by default reads any ip based connection as socket, thus trying to connect locally, please use a hostname (such as ma.db as in guide, and do not localhost) to force it to use a network interface. - +### TODO: +- Production environment diff --git a/readme.md b/readme.md index 2c49faa..37f3901 100644 --- a/readme.md +++ b/readme.md @@ -40,7 +40,7 @@ Games listed below have been tested and confirmed working. Only game versions ol - mysql/mariadb server ## Setup guides -Follow the platform-specific guides for [windows](docs/INSTALL_WINDOWS.md) and [ubuntu](docs/INSTALL_UBUNTU.md) to setup and run the server. +Follow the platform-specific guides for [windows](docs/INSTALL_WINDOWS.md), [ubuntu](docs/INSTALL_UBUNTU.md) or [docker](docs/INSTALL_DOCKER.md) to setup and run the server. ## Game specific information Read [Games specific info](docs/game_specific_info.md) for all supported games, importer settings, configuration option and database upgrades.