fix: use mysql 8 because mariadb is bugged in wsl since years

This commit is contained in:
Niklas 2023-10-26 01:13:38 +02:00
parent 72b3a692b7
commit 9498ba724b
2 changed files with 5 additions and 6 deletions

View File

@ -39,7 +39,7 @@ https://git.krews.org/morningstar/Arcturus-Community/-/archive/ms4/dev/Arcturus-
```text ```text
# **Default login credentials using HeidySQL:** # **Default login credentials using HeidySQL:**
# Network type: MariaDB or MySQL (TCP/IP) # Network type: MariaDB or MySQL (TCP/IP)
# Library: libmariadb.dll # Library: libmysql.dll
# Hostname /IP: YOURSERVERIPHERE!! # Hostname /IP: YOURSERVERIPHERE!!
# User: arcturus_user # User: arcturus_user
# Password: arcturus_pw # Password: arcturus_pw

View File

@ -43,8 +43,9 @@ services:
networks: [nitro] networks: [nitro]
db: db:
image: mariadb:10 image: mysql:8
command: --default-authentication-plugin=mysql_native_password depends_on:
- backup
env_file: env_file:
- .env - .env
ports: ports:
@ -58,13 +59,11 @@ services:
backup: backup:
image: tiredofit/db-backup image: tiredofit/db-backup
depends_on:
- db
volumes: volumes:
- ./db/backup:/backup - ./db/backup:/backup
environment: environment:
- TIMEZONE=UTC - TIMEZONE=UTC
- DB_TYPE=mariadb - DB_TYPE=mysql
- DB_HOST=db - DB_HOST=db
- DB_USER=$MYSQL_USER - DB_USER=$MYSQL_USER
- DB_PASS=$MYSQL_PASSWORD - DB_PASS=$MYSQL_PASSWORD