mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
fa43f6bc3e
commit
fa26c8078b
12 changed files with 53 additions and 79 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue