mailman3: fix db name in streaming file

This file streams the db backup to borg; it should be using the
"database" container from the docker-compose file.

Change-Id: Ide568215677855aa8eff1da617c4649223373052
This commit is contained in:
Ian Wienand 2022-12-02 16:40:03 +11:00
parent 76fc51c3b0
commit c4364f5e38
No known key found for this signature in database

View File

@ -273,6 +273,6 @@
- name: Create db streaming file
copy:
content: >-
/usr/local/bin/docker-compose -f /etc/mailman-compose/docker-compose.yaml exec -T mariadb
/usr/local/bin/docker-compose -f /etc/mailman-compose/docker-compose.yaml exec -T database
bash -c '/usr/bin/mysqldump --skip-extended-insert --databases mailmandb --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD"'
dest: /etc/borg-streams/mysql