mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
For great justice.
This commit is contained in:
@@ -5,12 +5,13 @@ Description=Immich Valkey Container
|
|||||||
Pod=immich.pod
|
Pod=immich.pod
|
||||||
ContainerName=immich_valkey
|
ContainerName=immich_valkey
|
||||||
Image=ghcr.io/valkey-io/valkey:alpine
|
Image=ghcr.io/valkey-io/valkey:alpine
|
||||||
Exec=--port 0 --unixsocket /tmp/immich/valkey.sock --unixsocketperm 777
|
Exec=--port 0 --unixsocket ${REDIS_SOCKET} --unixsocketperm 777
|
||||||
|
|
||||||
# Enable auto-update container
|
# Enable auto-update container
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
EnvironmentFile=%h/.config/containers/systemd/immich/.env
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutStartSec=300
|
TimeoutStartSec=300
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,9 @@ Exec=--port 0 --unixsocket ${REDIS_HOST} --unixsocketperm 777
|
|||||||
|
|
||||||
# Enable auto-update container
|
# Enable auto-update container
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
# pass this to attach it to container
|
|
||||||
EnvironmentFile=./.env
|
# Timezone
|
||||||
|
Environment=TZ=${TZ}
|
||||||
|
|
||||||
Volume=%h/podman/nextcloud/valkey:/data
|
Volume=%h/podman/nextcloud/valkey:/data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user