immich quadlets
This commit is contained in:
parent
b2ba8c7f4a
commit
d5ae86c2cc
12
immich/database.container
Normal file
12
immich/database.container
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# database.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_postgres
|
||||||
|
Environment=POSTGRES_PASSWORD=${DB_PASSWORD} POSTGRES_USER=${DB_USERNAME} POSTGRES_DB=${DB_DATABASE_NAME}
|
||||||
|
Image=tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||||
|
Volume=pgdata:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
12
immich/immich-machine-learning.container
Normal file
12
immich/immich-machine-learning.container
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# immich-machine-learning.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_machine_learning
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Image=ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
|
Volume=model-cache:/cache
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
18
immich/immich-microservices.container
Normal file
18
immich/immich-microservices.container
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# immich-microservices.container
|
||||||
|
[Unit]
|
||||||
|
Requires=redis.service database.service
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_microservices
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Exec=start.sh microservices
|
||||||
|
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
|
AutoUpdate=registry
|
||||||
|
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
19
immich/immich-server.container
Normal file
19
immich/immich-server.container
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# immich-server.container
|
||||||
|
[Unit]
|
||||||
|
Requires=redis.service database.service
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_server
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Exec=start.sh immich
|
||||||
|
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
|
AutoUpdate=registry
|
||||||
|
PublishPort=2283:3001
|
||||||
|
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
66
immich/podlet-migration.txt
Normal file
66
immich/podlet-migration.txt
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
# immich-server.container
|
||||||
|
[Unit]
|
||||||
|
Requires=redis.service database.service
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_server
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Exec=start.sh immich
|
||||||
|
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
|
PublishPort=2283:3001
|
||||||
|
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# immich-microservices.container
|
||||||
|
[Unit]
|
||||||
|
Requires=redis.service database.service
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_microservices
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Exec=start.sh microservices
|
||||||
|
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
|
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# immich-machine-learning.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_machine_learning
|
||||||
|
EnvironmentFile=.env
|
||||||
|
Image=ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
|
Volume=model-cache:/cache
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# redis.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_redis
|
||||||
|
Image=redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
# database.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_postgres
|
||||||
|
Environment=POSTGRES_PASSWORD=${DB_PASSWORD} POSTGRES_USER=${DB_USERNAME} POSTGRES_DB=${DB_DATABASE_NAME}
|
||||||
|
Image=tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||||
|
Volume=pgdata:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
10
immich/redis.container
Normal file
10
immich/redis.container
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# redis.container
|
||||||
|
[Container]
|
||||||
|
ContainerName=immich_redis
|
||||||
|
Image=redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user