immich
This commit is contained in:
@@ -14,6 +14,8 @@ version: "3.8"
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich_server
|
||||
networks:
|
||||
- traefik
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||
# extends:
|
||||
# file: hwaccel.transcoding.yml
|
||||
@@ -31,6 +33,8 @@ services:
|
||||
restart: always
|
||||
|
||||
immich-machine-learning:
|
||||
networks:
|
||||
- traefik
|
||||
container_name: immich_machine_learning
|
||||
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
||||
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||
@@ -39,19 +43,23 @@ services:
|
||||
# file: hwaccel.ml.yml
|
||||
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
|
||||
volumes:
|
||||
- model-cache:/cache
|
||||
- /srv/immich/model-cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
networks:
|
||||
- traefik
|
||||
container_name: redis
|
||||
image: docker.io/redis:6.2-alpine@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e
|
||||
# healthcheck:
|
||||
# test: redis-cli ping || exit 1
|
||||
restart: always
|
||||
|
||||
database:
|
||||
networks:
|
||||
- traefik
|
||||
container_name: immich_postgres
|
||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||
environment:
|
||||
@@ -69,8 +77,8 @@ services:
|
||||
command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
# volumes:
|
||||
# model-cache:
|
||||
|
||||
|
||||
# # services:
|
||||
@@ -256,6 +264,6 @@ volumes:
|
||||
# # model-cache:
|
||||
# # tsdata:
|
||||
|
||||
# networks:
|
||||
# traefik:
|
||||
# external: true
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
Reference in New Issue
Block a user