- Base + service (native binary), container (rootless quadlet), postgresql and redis subpackages - Fixed UID/GID 126 for the authelia user - Rootless pod publishing 127.0.0.1:9091; db and redis join the pod (container) or publish on localhost (service) - Container images pinned by digest - Native -service subpackage built conditionally (--without service)
23 lines
520 B
INI
23 lines
520 B
INI
[Unit]
|
|
Description=Authelia Redis session store
|
|
|
|
[Container]
|
|
Image=docker.io/library/redis:8.4-alpine@sha256:bd4a0d37e7cd830117ffec9329052b4a1887afa060c265e1768f82b177ff6f43
|
|
ContainerName=authelia-redis
|
|
Volume=/var/lib/authelia/redis:/data:Z
|
|
Exec=redis-server --save 60 1
|
|
HealthCmd=redis-cli ping
|
|
HealthInterval=30s
|
|
HealthTimeout=10s
|
|
HealthRetries=5
|
|
HealthStartPeriod=30s
|
|
HealthOnFailure=kill
|
|
LogDriver=journald
|
|
|
|
[Service]
|
|
User=authelia
|
|
Environment=HOME=/var/lib/authelia
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStartSec=900
|