add MARIADB_AUTO_UPGRADE env variable

This commit is contained in:
Gerrit Gogel 2023-04-20 13:41:06 +02:00
parent a67606ee66
commit 592645e028
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@ services:
environment: environment:
- MYSQL_ROOT_PASSWORD=db_dev - MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true - MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=true
volumes: volumes:
- seafile-mariadb:/var/lib/mysql - seafile-mariadb:/var/lib/mysql
networks: networks:

View file

@ -48,6 +48,7 @@ services:
environment: environment:
- MYSQL_ROOT_PASSWORD=db_dev - MYSQL_ROOT_PASSWORD=db_dev
- MYSQL_LOG_CONSOLE=true - MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=true
volumes: volumes:
- seafile-mariadb:/var/lib/mysql - seafile-mariadb:/var/lib/mysql
networks: networks: