21 lines
444 B
INI
21 lines
444 B
INI
[Unit]
|
|
Description=Overleaf Redis container
|
|
|
|
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=overleaf-redis
|
|
Environment=TZ=Europe/Zurich
|
|
Exec=/bin/sh -c 'redis-server --appendonly yes --requirepass $${REDIS_PASSWORD}'
|
|
Image=docker.io/redis:latest
|
|
Label=io.containers.autoupdate=registry
|
|
Pod=overleaf.pod
|
|
StartWithPod=true
|
|
Timezone=Europe/Zurich
|
|
Volume=overleaf-redis-data.volume:/data
|
|
|
|
[Service]
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|