live containers on quadlets
This commit is contained in:
parent
a446962e85
commit
f8a9e8e102
@ -1,9 +1,11 @@
|
|||||||
# database.container
|
# database.container
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=immich_postgres
|
ContainerName=immich_postgres
|
||||||
Environment=POSTGRES_PASSWORD=${DB_PASSWORD} POSTGRES_USER=${DB_USERNAME} POSTGRES_DB=${DB_DATABASE_NAME}
|
HostName=immich_postgres
|
||||||
|
EnvironmentFile=.env
|
||||||
Image=tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
Image=tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||||
Volume=pgdata:/var/lib/postgresql/data
|
Volume=database.volume:/var/lib/postgresql/data
|
||||||
|
Network=immich-network.network
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
3
immich/database.volume
Normal file
3
immich/database.volume
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# database.volume
|
||||||
|
[Volume]
|
||||||
|
Driver=local
|
@ -1,9 +1,11 @@
|
|||||||
# immich-machine-learning.container
|
# immich-machine-learning.container
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=immich_machine_learning
|
ContainerName=immich_machine_learning
|
||||||
|
HostName=immich_machine_learning
|
||||||
EnvironmentFile=.env
|
EnvironmentFile=.env
|
||||||
Image=ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
Image=ghcr.io/immich-app/immich-machine-learning:release
|
||||||
Volume=model-cache:/cache
|
Volume=model-cache.volume:/cache
|
||||||
|
Network=immich-network.network
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
@ -4,12 +4,14 @@ Requires=redis.service database.service
|
|||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=immich_microservices
|
ContainerName=immich_microservices
|
||||||
|
HostName=immich_microservices
|
||||||
EnvironmentFile=.env
|
EnvironmentFile=.env
|
||||||
Exec=start.sh microservices
|
Exec=start.sh microservices
|
||||||
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
Image=ghcr.io/immich-app/immich-server:release
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
Volume=uploads.volume:/usr/src/app/upload
|
||||||
Volume=/etc/localtime:/etc/localtime:ro
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
Network=immich-network.network
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
5
immich/immich-network.network
Normal file
5
immich/immich-network.network
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Immich Container Network
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
Label=app=immich
|
@ -4,13 +4,15 @@ Requires=redis.service database.service
|
|||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=immich_server
|
ContainerName=immich_server
|
||||||
|
HostName=immich_server
|
||||||
EnvironmentFile=.env
|
EnvironmentFile=.env
|
||||||
Exec=start.sh immich
|
Exec=start.sh immich
|
||||||
Image=ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
Image=ghcr.io/immich-app/immich-server:release
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
PublishPort=2283:3001
|
PublishPort=2283:3001
|
||||||
Volume=${UPLOAD_LOCATION}:/usr/src/app/upload
|
Volume=uploads.volume:/usr/src/app/upload
|
||||||
Volume=/etc/localtime:/etc/localtime:ro
|
Volume=/etc/localtime:/etc/localtime:ro
|
||||||
|
Network=immich-network.network
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
3
immich/model-cache.volume
Normal file
3
immich/model-cache.volume
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# model-cache.volume
|
||||||
|
[Volume]
|
||||||
|
Driver=local
|
@ -1,7 +1,9 @@
|
|||||||
# redis.container
|
# redis.container
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=immich_redis
|
ContainerName=immich_redis
|
||||||
|
HostName=immich_redis
|
||||||
Image=redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
Image=redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
||||||
|
Network=immich-network.network
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
3
immich/uploads.volume
Normal file
3
immich/uploads.volume
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# uploads.volume
|
||||||
|
[Volume]
|
||||||
|
Driver=local
|
Loading…
Reference in New Issue
Block a user