99 lines
2.5 KiB
YAML
99 lines
2.5 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:v1.89.0@sha256:b5aa4023c63b904136e859b4c3f4c1d34272b7c5f7ee65f50f12378d6039e9e7
|
|
command: ["start.sh", "immich"]
|
|
volumes:
|
|
- library:/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
|
|
- typesense
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
- net
|
|
|
|
immich-microservices:
|
|
container_name: immich_microservices
|
|
image: ghcr.io/immich-app/immich-server:v1.89.0@sha256:b5aa4023c63b904136e859b4c3f4c1d34272b7c5f7ee65f50f12378d6039e9e7
|
|
command: ["start.sh", "microservices"]
|
|
volumes:
|
|
- library:/usr/src/app/upload
|
|
- /etc/localtime:/etc/localtime:ro
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- redis
|
|
- database
|
|
- typesense
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
immich-machine-learning:
|
|
container_name: immich_machine_learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.89.0@sha256:e76febac59b0377cb08dbbd683bf147f9720bbf6f7da86f22b7cfbec91237a72
|
|
volumes:
|
|
- model-cache:/cache
|
|
env_file:
|
|
- stack.env
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
typesense:
|
|
container_name: immich_typesense
|
|
image: typesense/typesense:0.25.1@sha256:035ccfbc3fd8fb9085ea205fdcb62de63eaefdbebd710e88e57f978a30f2090d
|
|
environment:
|
|
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
|
- TYPESENSE_DATA_DIR=/data
|
|
# remove this to get debug messages
|
|
- GLOG_minloglevel=1
|
|
volumes:
|
|
- tsdata:/data
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
redis:
|
|
container_name: immich_redis
|
|
image: redis:6.2-alpine@sha256:60e49e22fa5706cd8df7d5e0bc50ee9bab7c608039fa653c4d961014237cca46
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
image: postgres:14-alpine@sha256:6a0e35296341e676fe6bd8d236c72afffe2dfe3d7eb9c2405c0f3fc04500cd07
|
|
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:
|
|
tsdata:
|
|
library:
|
|
|
|
networks:
|
|
net:
|
|
external: true
|
|
immich:
|