19 lines
343 B
INI
19 lines
343 B
INI
[Unit]
|
|
Description=Redis data caching service
|
|
After=network-online.target
|
|
|
|
[Container]
|
|
ContainerName=redis
|
|
Pod=matrix.pod
|
|
Image=docker.io/library/redis:latest
|
|
EnvironmentFile=./env/redis.env
|
|
Label=io.containers.autoupdate=registry
|
|
UserNS=keep-id
|
|
|
|
HealthCmd=redis-cli --raw incr ping
|
|
HealthInterval=10s
|
|
Notify=healthy
|
|
|
|
[Service]
|
|
Restart=always
|