# vim: ft=systemd
[Unit]
StopWhenUnneeded=true

[Container]
Image=docker.io/mariadb:10.7.1
Pod=monica.pod

Environment="MARIADB_ROOT_PASSWORD={{ monica_mariadb_root_pass }}" MARIADB_USER=monica MARIADB_PASSWORD=monica MARIADB_DATABASE=monica
Volume={{ mariadb_data_dir }}:/var/lib/mysql

[Service]
Restart=always
