Hardcode name of mariadb container to make name consistent between docker compose 2 and 3.

This commit is contained in:
Magnus Andersson 2024-03-08 10:31:20 +01:00
parent 10b0f30155
commit 4f6786363b
Signed by untrusted user: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -4,6 +4,7 @@ services:
db: db:
image: docker.sunet.se/drive/mariadb:<%= @mariadb_version %> image: docker.sunet.se/drive/mariadb:<%= @mariadb_version %>
container_name: mariadb_db_1
restart: always restart: always
volumes: volumes:
- /etc/mariadb/backups:/backups - /etc/mariadb/backups:/backups