58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:v1.135.0@sha256:b5fb7ce9b38e8986eb73d12865c542e552fa6a3b769a518e1f1da0ec4787621f
|
|
ports:
|
|
- 2283:2283
|
|
volumes:
|
|
- /mnt/truenas-services/immich:/usr/src/app/upload
|
|
- /mnt/truenas-services/immich-external:/mnt/external
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
immich-machine-learning:
|
|
container_name: immich_machine_learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.134.0@sha256:e157e0fa0d4363b0b6bab1923adab5951bbcdb71cd9016470bc6810dae21d115
|
|
volumes:
|
|
- model-cache:/cache
|
|
env_file:
|
|
- stack.env
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
redis:
|
|
container_name: immich_redis
|
|
image: redis:8.0-alpine@sha256:48501c5ad00d5563bc30c075c7bcef41d7d98de3e9a1e6c752068c66f0a8463b
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
POSTGRES_USER: ${DB_USERNAME}
|
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
volumes:
|
|
pgdata:
|
|
model-cache:
|
|
|
|
networks:
|
|
immich:
|