fix: podman integration

This commit is contained in:
Clément Désiles
2026-05-29 21:24:58 +02:00
parent 305b8324db
commit 1d00432061
9 changed files with 42 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ Description=Immich Media Server
Type=oneshot
RemainAfterExit=true
WorkingDirectory={{ podman_projects_dir | default('/opt/podman') }}/immich
ExecStart=/usr/bin/podman play kube --replace immich.yaml
ExecStart=/usr/bin/podman play kube --replace --network=pasta:--map-host-loopback={{ podman_gw_gateway }} immich.yaml
ExecStop=/usr/bin/podman play kube --down immich.yaml
Restart=on-failure
RestartSec=10
-3
View File
@@ -5,9 +5,6 @@ metadata:
name: immich
labels:
app: immich
annotations:
io.podman.annotations.network.mode: bridge
io.podman.annotations.network.name: podman-gw
spec:
containers:
- name: server