mirror of
https://github.com/friendica/friendica
synced 2025-01-12 18:04:42 +00:00
try to keep mariadb alive
This commit is contained in:
parent
f48311051e
commit
2662fce74d
1 changed files with 5 additions and 0 deletions
5
.github/workflows/php.yml
vendored
5
.github/workflows/php.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue