mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:28:55 +00:00
[ticket/16659] Use volume for /var/run/mysqld
PHPBB3-16659
This commit is contained in:
parent
5cbe25d415
commit
2cdebe57af
2 changed files with 10 additions and 0 deletions
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
|
@ -66,6 +66,7 @@ jobs:
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
options: >-
|
options: >-
|
||||||
|
-v /srv/docker/sockets/mariadb:/var/run/mysqld
|
||||||
--health-cmd="mysqladmin ping"
|
--health-cmd="mysqladmin ping"
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
|
|
|
@ -22,6 +22,15 @@ then
|
||||||
travis/setup-unbuffer.sh
|
travis/setup-unbuffer.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$DB" == "mariadb" ]
|
||||||
|
then
|
||||||
|
ls -l /var/run | grep -i mysqld
|
||||||
|
|
||||||
|
if [ ! -f "/var/run/mysqld/mysqld.sock" ]; then
|
||||||
|
ln -s /srv/docker/sockets/mariadb/mysqld.sock /var/run/mysqld/mysqld.sock
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$MYSQL8" == '1' ]
|
if [ "$MYSQL8" == '1' ]
|
||||||
then
|
then
|
||||||
travis/setup-mysql8.sh
|
travis/setup-mysql8.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue