81 lines
2.1 KiB
YAML
81 lines
2.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:v1.95.1@sha256:78665b75735f248b2ee1646a671d340b6a221260d87c38771c060aef62421a19
|
|
command: ["start.sh", "immich"]
|
|
ports:
|
|
- 3001:3001
|
|
volumes:
|
|
- /mnt/truenas-services/immich:/usr/src/app/upload
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- stack.env
|
|
environment:
|
|
- LETSENCRYPT_HOST=${IMMICH_HOST:?}
|
|
- VIRTUAL_HOST=${IMMICH_HOST:?}
|
|
- VIRTUAL_PORT=${IMMICH_PORT:-3001}
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
immich-microservices:
|
|
container_name: immich_microservices
|
|
image: ghcr.io/immich-app/immich-server:v1.95.1@sha256:78665b75735f248b2ee1646a671d340b6a221260d87c38771c060aef62421a19
|
|
command: ["start.sh", "microservices"]
|
|
volumes:
|
|
- /mnt/truenas-services/immich:/usr/src/app/upload
|
|
- /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.95.1@sha256:33211bbedb8af1a24c1416617c1e2504d6011a18d6ed83a4b8023647bfbfe58a
|
|
volumes:
|
|
- model-cache:/cache
|
|
env_file:
|
|
- stack.env
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
redis:
|
|
container_name: immich_redis
|
|
image: redis:6.2-alpine@sha256:51d6c56749a4243096327e3fb964a48ed92254357108449cb6e23999c37773c5
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
# image: postgres:14-alpine@sha256:a52bf84b9edf9229492eaa340848a508b7c67af0fc5b5636d992164dce729174
|
|
image: tensorchord/pgvecto-rs:pg14-v0.1.11
|
|
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:
|