HOTFIX: mardiadb auto upgrade
For whatever reason this docker image:
didn't have mysql_upgrade already run against the image
@@ -19,7 +19,10 @@ services:
source: ./bin/twlight_mysql_init.sh
target: /docker-entrypoint-initdb.d/twlight_mysql_init.sh
environment:
+ # https://mariadb.com/kb/en/mariadb-docker-environment-variables/
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/MYSQL_ROOT_PASSWORD
+ - MARIADB_AUTO_UPGRADE=TRUE # Any non-empty value will do
+ - MARIADB_DISABLE_UPGRADE_BACKUP=TRUE # Any non-empty value will do
secrets:
- DJANGO_DB_NAME
- DJANGO_DB_USER
