fix(docker): modify db configuration for new tests

A user that can create databases is now required for tests,
we use the 'root' user in Docker.

Added docker services:
---------------------
- mariadb_test - host localhost:13307

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-17 00:44:35 -08:00
parent fa43f6bc3e
commit fa26c8078b
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
12 changed files with 53 additions and 79 deletions

View file

@ -5,7 +5,7 @@ socket = /var/run/mysqld/mysqld.sock
;port = 3306
name = AUR
user = aur
password = aur
;password = aur
[options]
username_min_len = 3

View file

@ -6,7 +6,8 @@
; development-specific options too.
[database]
; Options: mysql, sqlite.
; PHP options: mysql, sqlite.
; FastAPI options: mysql.
backend = mysql
; If using sqlite, set name to the database file path.
@ -14,8 +15,8 @@ name = aurweb
; MySQL database information. User defaults to root for containerized
; testing with mysqldb. This should be set to a non-root user.
user = aur
password = aur
user = root
;password = aur
host = localhost
;port = 3306
socket = /var/run/mysqld/mysqld.sock