home-pods/container-proxy-internal.se...

27 lines
815 B
SYSTEMD

[Unit]
Description=Podman container-proxy-internal.service
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=on-failure
TimeoutStopSec=70
ExecStartPre=/bin/rm -f %t/%n.ctr-id
ExecStart=/usr/bin/podman run --cidfile=%t/%n.ctr-id --cgroups=no-conmon --rm --sdnotify=conmon --replace -d \
--name=proxy-internal \
-v proxy-internal-data:/data:Z \
-v proxy-internal-letsencrypt:/etc/letsencrypt:Z \
--ip=10.88.0.18 \
-p 5180:80 -p 82:81 \
--label "io.containers.autoupdate=registry" \
docker.io/jc21/nginx-proxy-manager:2.9.22
ExecStop=/usr/bin/podman stop --ignore --cidfile=%t/%n.ctr-id
ExecStopPost=/usr/bin/podman rm -f --ignore --cidfile=%t/%n.ctr-id
Type=notify
NotifyAccess=all
[Install]
WantedBy=default.target