mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
docker: set mariadb wait_timeout to upstream default
The default wait_timeout we are getting from the official MariaDB container (as inherited from Debian) is 600s, which is too short if you walk away while the setup script is running and it stops on the "manage.py createsuperuser" step for longer than 10 minutes. We don't really need this timeout, so just use the upstream default of 28800 (8h) instead. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
95c650d7c4
commit
3bc7dce405
|
@ -2,7 +2,7 @@ version: '3'
|
|||
services:
|
||||
layersdb:
|
||||
image: mariadb:10.2
|
||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
|
||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --wait_timeout=28800
|
||||
environment:
|
||||
- "MYSQL_DATABASE=layersdb"
|
||||
- "MYSQL_ROOT_PASSWORD=testingpw"
|
||||
|
|
Loading…
Reference in New Issue
Block a user