Skip to content

Commit fcf05d6

Browse files
committed
ci(scrutinizer): configure MySQL service explicitly
1 parent b891445 commit fcf05d6

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.scrutinizer.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ build:
5050
# 🧪 Test with services
5151
services-tests:
5252
services:
53-
mysql: "8.4"
53+
mysql:
54+
image: docker.io/library/mysql:8.4
55+
env:
56+
MYSQL_ROOT_PASSWORD: "scrutinizer"
57+
MYSQL_DATABASE: "scrutinizer"
58+
ports:
59+
- 3306
5460
redis: "6"
5561

5662
environment:
@@ -61,14 +67,14 @@ build:
6167
API_DB_PORT: "3306"
6268
API_DB_NAME: "scrutinizer"
6369
API_DB_USER: "root"
64-
API_DB_PASSWORD: ""
70+
API_DB_PASSWORD: "scrutinizer"
6571
API_DB_TIMEOUT: "90"
6672

6773
DB_HOST: "127.0.0.1"
6874
DB_PORT: "3306"
6975
DB_NAME: "scrutinizer"
7076
DB_USER: "root"
71-
DB_PASSWORD: ""
77+
DB_PASSWORD: "scrutinizer"
7278

7379
PSFS_REDIS_HOST: "127.0.0.1"
7480
PSFS_REDIS_PORT: "6379"

0 commit comments

Comments
 (0)