The `prowlarr.yml` playbook and corresponding role deploy Prowlarr, the indexer manager for the *arr suite, in a Podman container. Note that we're relocating the log files from the Prowlarr AppData directory to `/var/log/prowlarr` so they can be picked up by Fluent Bit.
34 lines
700 B
Django/Jinja
34 lines
700 B
Django/Jinja
{#- vim: set ft=systemd.jinja : #}
|
|
[Unit]
|
|
Description=Prowlarr Indexer Manager
|
|
Wants=network.target
|
|
After=network.target
|
|
|
|
[Container]
|
|
Image={{ prowlarr_container_image }}:{{ prowlarr_version }}
|
|
Volume=/var/log/prowlarr:/var/log/prowlarr:rw
|
|
Volume=/var/lib/prowlarr:/var/lib/prowlarr:rw
|
|
ReadOnly=true
|
|
ReadOnlyTmpfs=true
|
|
Network=host
|
|
NoNewPrivileges=yes
|
|
|
|
[Service]
|
|
Restart=always
|
|
PrivateTmp=yes
|
|
ProtectClock=yes
|
|
ProtectHome=yes
|
|
ProtectKernelLogs=yes
|
|
ProtectKernelModules=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectProc=invisible
|
|
ProtectSystem=full
|
|
TemporaryFileSystem=/etc/containers/networks
|
|
RestrictRealtime=yes
|
|
RestrictSUIDSGID=yes
|
|
SuccessExitStatus=0 143
|
|
UMask=0077
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|