1
0
mirror of synced 2024-12-01 00:57:16 +01:00

- update docker-compose database charset and collation to utf8mb4

- update TODO list in docker guide
- update readme.md
This commit is contained in:
phantomlan 2023-10-21 17:33:58 +02:00
parent a3d2955fce
commit 5420076c8e
3 changed files with 5 additions and 4 deletions

View File

@ -35,8 +35,8 @@ services:
MYSQL_USER: aime MYSQL_USER: aime
MYSQL_PASSWORD: aime MYSQL_PASSWORD: aime
MYSQL_ROOT_PASSWORD: AimeRootPassword MYSQL_ROOT_PASSWORD: AimeRootPassword
MYSQL_CHARSET: utf8 MYSQL_CHARSET: utf8mb4
MYSQL_COLLATION: utf8_general_ci MYSQL_COLLATION: utf8mb4_general_ci
##Note: expose port 3306 to allow read.py importer into database, comment out when not needed ##Note: expose port 3306 to allow read.py importer into database, comment out when not needed
#ports: #ports:
# - "3306:3306" # - "3306:3306"

View File

@ -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'" ## 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. 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

View File

@ -40,7 +40,7 @@ Games listed below have been tested and confirmed working. Only game versions ol
- mysql/mariadb server - mysql/mariadb server
## Setup guides ## 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 ## Game specific information
Read [Games specific info](docs/game_specific_info.md) for all supported games, importer settings, configuration option and database upgrades. Read [Games specific info](docs/game_specific_info.md) for all supported games, importer settings, configuration option and database upgrades.