try to keep mariadb alive

This commit is contained in:
Art4 2024-11-06 22:53:04 +00:00
parent f48311051e
commit 2662fce74d

View file

@ -9,11 +9,16 @@ jobs:
services:
mariadb:
image: mariadb:latest
restart: always
env:
MYSQL_ALLOW_EMPTY_PASSWORD: true
MYSQL_DATABASE: test
MYSQL_PASSWORD: test
MYSQL_USER: test
command:
- --max-allowed-packet=64M
- --wait-timeout=28800
- --interactive-timeout=28800
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3