diff --git a/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 b/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 index d59c13406d..b5cc215ce3 100644 --- a/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 +++ b/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 @@ -2,7 +2,7 @@ version: '2' services: mariadb: - image: docker.io/library/mariadb:10.4 + image: docker.io/library/mariadb:10.11 network_mode: host restart: always environment: @@ -10,6 +10,7 @@ services: MYSQL_DATABASE: "{{ lodgeit_db_dbname }}" MYSQL_USER: "{{ lodgeit_db_username }}" MYSQL_PASSWORD: "{{ lodgeit_db_password }}" + MARIADB_AUTO_UPGRADE: 1 command: [ '--wait_timeout=28800', ]