mirror of
https://github.com/friendica/friendica
synced 2025-02-05 00:18:54 +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:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
|
restart: always
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
||||||
MYSQL_DATABASE: test
|
MYSQL_DATABASE: test
|
||||||
MYSQL_PASSWORD: test
|
MYSQL_PASSWORD: test
|
||||||
MYSQL_USER: test
|
MYSQL_USER: test
|
||||||
|
command:
|
||||||
|
- --max-allowed-packet=64M
|
||||||
|
- --wait-timeout=28800
|
||||||
|
- --interactive-timeout=28800
|
||||||
ports:
|
ports:
|
||||||
- 3306/tcp
|
- 3306/tcp
|
||||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||||
|
|
Loading…
Add table
Reference in a new issue