any.software.immich-podman: add role
This commit is contained in:
parent
c4c5ab0e2a
commit
073127fcc0
9 changed files with 123 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
# vim: ft=systemd
|
||||
[Unit]
|
||||
Requires=immich-redis.service immich-postgres.service
|
||||
After=immich-redis.service immich-postgres.service
|
||||
|
||||
[Container]
|
||||
Environment=IMMICH_VERSION=v2.5.6 DB_HOSTNAME=localhost DB_DATABASE_NAME=immich DB_USERNAME=immich DB_PASSWORD=immich REDIS_HOSTNAME=localhost
|
||||
Image=ghcr.io/immich-app/immich-server:v2.5.6
|
||||
Pod=immich.pod
|
||||
|
||||
Volume={{ immich_upload_dir }}:/data
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
|
||||
{% for library in immich_libraries %}
|
||||
Volume={{ library.path }}:/mnt/libraries/{{ library.name }}
|
||||
{% endfor %}
|
||||
|
||||
User=0
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
Loading…
Add table
Add a link
Reference in a new issue