templates/paperless-ngx.quadlet.j2 aktualisiert

This commit is contained in:
Lennard Brinkhaus 2023-09-21 07:47:49 +00:00
parent e11e90ef09
commit acca6f1b4d

View File

@ -43,22 +43,13 @@ Volume=/var/paperless-ngx/media:/usr/src/paperless/media:rw
Volume=/var/paperless-ngx/export:/usr/src/paperless/export:rw Volume=/var/paperless-ngx/export:/usr/src/paperless/export:rw
Volume=/var/paperless-ngx/consume:/usr/src/paperless/consume:rw Volume=/var/paperless-ngx/consume:/usr/src/paperless/consume:rw
NoNewPrivileges=true
DropCapability=All
AddCapability=net_bind_service
#UserNS=keep-id
# Required to access the Podman Socket
#SecurityLabelDisable=true
PodmanArgs=--userns=keep-id --security-opt label=disable
Label="traefik.http.routers.paperless-ngx.tls.certresolver=resolver" Label="traefik.http.routers.paperless-ngx.tls.certresolver=resolver"
Label="traefik.http.routers.paperless-ngx.tls=true" Label="traefik.http.routers.paperless-ngx.tls=true"
Label="traefik.http.routers.paperless-ngx.rule=Host(`{{ paperless_ngx_url }}`)" Label="traefik.http.routers.paperless-ngx.rule=Host(`{{ paperless_ngx_url }}`)"
Label="traefik.http.routers.paperless-ngx.service=paperless-ngx" Label="traefik.http.routers.paperless-ngx.service=paperless-ngx"
Label="traefik.http.services.paperless-ngx.loadbalancer.server.port=8000" Label="traefik.http.services.paperless-ngx.loadbalancer.server.port=8000"
HealthCmd="curl -fs -S --max-time 2 http://localhost:8000" HealthCmd=curl -fs -S --max-time 2 http://localhost:8000
HealthInterval=30s HealthInterval=30s
HealthTimeout=20s HealthTimeout=20s
HealthRetries=5 HealthRetries=5