121 lines
3.1 KiB
YAML
121 lines
3.1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
immich-server:
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:v1.83.0@sha256:76e78d66ff56ad1e377edfcbec079ae506e8b25b89d075d3a2de2ff2f93b882a
|
|
command: ["start.sh", "immich"]
|
|
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-microservices:
|
|
container_name: immich_microservices
|
|
image: ghcr.io/immich-app/immich-server:v1.83.0@sha256:76e78d66ff56ad1e377edfcbec079ae506e8b25b89d075d3a2de2ff2f93b882a
|
|
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.83.0@sha256:e2e921f8f0e496dcf051a42dd934bcd57724fb91784a2ec70a3d9d4aea1675f8
|
|
volumes:
|
|
- model-cache:/cache
|
|
env_file:
|
|
- stack.env
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
immich-web:
|
|
container_name: immich_web
|
|
image: ghcr.io/immich-app/immich-web:v1.83.0@sha256:7ac4af26ec224864316cae1cfe0a0d0a2dd2e2cd12f2e8217cc833c490e110f4
|
|
env_file:
|
|
- stack.env
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
typesense:
|
|
container_name: immich_typesense
|
|
image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd
|
|
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:452b7655bda0e270a6376b71d22fcb30662e745dcb4728f99fa87f01287b465d
|
|
restart: always
|
|
networks:
|
|
- immich
|
|
|
|
database:
|
|
container_name: immich_postgres
|
|
image: postgres:14-alpine@sha256:874f566dd512d79cf74f59754833e869ae76ece96716d153b0fa3e64aec88d92
|
|
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
|
|
|
|
immich-proxy:
|
|
container_name: immich_proxy
|
|
image: ghcr.io/immich-app/immich-proxy:v1.83.0@sha256:fcb6697e7885f4c004b2e308b496d12999c0c6845d150353c312b0c9c7df5de7
|
|
environment:
|
|
# Make sure these values get passed through from the env file
|
|
- IMMICH_SERVER_URL
|
|
- IMMICH_WEB_URL
|
|
- LETSENCRYPT_HOST=${IMMICH_HOST:?}
|
|
- VIRTUAL_HOST=${IMMICH_HOST:?}
|
|
- VIRTUAL_PORT=${IMMICH_PORT:-8080}
|
|
depends_on:
|
|
- immich-server
|
|
- immich-web
|
|
restart: always
|
|
networks:
|
|
- net
|
|
- immich
|
|
|
|
volumes:
|
|
pgdata:
|
|
model-cache:
|
|
tsdata:
|
|
library:
|
|
|
|
networks:
|
|
net:
|
|
external: true
|
|
immich:
|