2023-08-12 10:26:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Radicale CalDAV and CardDAV Server
|
|
|
|
Wants=container-build@%N.service container-volume@%N.service dovecot.service
|
|
|
|
After=container-build@%N.service container-volume@%N.service dovecot.service
|
|
|
|
|
|
|
|
[Container]
|
2023-11-17 13:11:51 +00:00
|
|
|
AutoUpdate=local
|
2023-08-12 10:26:49 +00:00
|
|
|
ContainerName=%N
|
|
|
|
EnvironmentFile=%E/coreos-home-server/%N/%N.env
|
2023-11-17 13:11:51 +00:00
|
|
|
HealthCmd=timeout 5s curl --fail --silent --show-error -o /dev/null localhost:5232
|
2023-08-12 10:26:49 +00:00
|
|
|
Image=localhost/%N:latest
|
|
|
|
Network=internal
|
2023-11-17 13:11:51 +00:00
|
|
|
PodmanArgs=--sdnotify=healthy
|
2023-08-12 10:26:49 +00:00
|
|
|
Volume=%N:/var/lib/%N:z
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|