Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
+After=container-nextcloud-mariadb.service
RequiresMountsFor=%t/containers
+
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=always
-d \
-e MARIADB_DATABASE=nextcloud \
-e MARIADB_ROOT_PASSWORD=MajorMalfunciton507 \
- --pod matomo \
- --name matomo-mariadb docker.io/mariadb:latest
+ --pod nextcloud \
+ --name nextcloud-mariadb docker.io/mariadb:latest
ExecStop=/usr/bin/podman stop \
--ignore -t 10 \
--cidfile=%t/%n.ctr-id
--replace \
--label io.containers.autoupdate=registry \
-d \
- -p 8001:80 \
+ --pod nextcloud \
--mount type=bind,source=/data/nextcloud/,target=/var/www/html \
--name Nextcloud docker.io/library/nextcloud:apache
ExecStop=/usr/bin/podman stop \
Documentation=man:podman-generate-systemd(1)
Wants=network-online.target
After=network-online.target
+After=container-shlink-mariadb.service
RequiresMountsFor=%t/containers
[Service]