diff --git a/compose/docker-compose-swarm.yml b/compose/docker-compose-swarm.yml index b91354c..1b2be1a 100644 --- a/compose/docker-compose-swarm.yml +++ b/compose/docker-compose-swarm.yml @@ -50,6 +50,7 @@ services: environment: - MYSQL_ROOT_PASSWORD=db_dev - MYSQL_LOG_CONSOLE=true + - MARIADB_AUTO_UPGRADE=true volumes: - seafile-mariadb:/var/lib/mysql networks: diff --git a/compose/docker-compose.yml b/compose/docker-compose.yml index 8e843f5..cf54d37 100644 --- a/compose/docker-compose.yml +++ b/compose/docker-compose.yml @@ -48,6 +48,7 @@ services: environment: - MYSQL_ROOT_PASSWORD=db_dev - MYSQL_LOG_CONSOLE=true + - MARIADB_AUTO_UPGRADE=true volumes: - seafile-mariadb:/var/lib/mysql networks: