Hardcode name of mariadb container to make name consistent between docker compose 2 and 3.
This commit is contained in:
parent
10b0f30155
commit
4f6786363b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue