From 3fce5c6fabcd3aaa962bb234dae60c390bb9b4b9 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Fri, 8 Mar 2024 10:31:20 +0100 Subject: [PATCH] Hardcode name of mariadb container to make name consistent between docker compose 2 and 3. --- templates/mariadb/docker-compose_mariadb.yml.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/mariadb/docker-compose_mariadb.yml.erb b/templates/mariadb/docker-compose_mariadb.yml.erb index d3e9abe..1650563 100644 --- a/templates/mariadb/docker-compose_mariadb.yml.erb +++ b/templates/mariadb/docker-compose_mariadb.yml.erb @@ -4,6 +4,7 @@ services: db: image: docker.sunet.se/drive/mariadb:<%= @mariadb_version %> + container_name: mariadb_db_1 restart: always volumes: - /etc/mariadb/backups:/backups