Feat: Immich Server

This commit is contained in:
coolnsx
2025-06-30 19:27:52 +05:30
parent aa90d66815
commit 3fac8699fc
10 changed files with 156 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
[Unit]
Description=Immich Machine Learning Container
[Container]
Pod=immich.pod
ContainerName=immich_ml
Image=ghcr.io/immich-app/immich-machine-learning:release
# Enable auto-update container
AutoUpdate=registry
# pass this to attach it to container
EnvironmentFile=./.env
Volume=%h/podman/immich/ml:/cache
# gpu acceleration
AddDevice=/dev/dri
GroupAdd=989
[Service]
# pass this to autofill above variables
EnvironmentFile=%h/.config/containers/systemd/immich/.env
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target