68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
name: photo-collector
|
|
|
|
services:
|
|
immich:
|
|
hostname: immich
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
command: [ "start.sh", "immich" ]
|
|
environment:
|
|
DB_HOSTNAME: immich_postgres
|
|
DB_USERNAME: postgres
|
|
DB_PASSWORD: postgres
|
|
DB_DATABASE_NAME: immich
|
|
networks:
|
|
- reverse-proxy
|
|
- default
|
|
depends_on:
|
|
- immich_redis
|
|
- immich_postgres
|
|
volumes:
|
|
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
|
restart: unless-stopped
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.http.routers.immich.middlewares: authelia@file
|
|
|
|
immich-microservices:
|
|
hostname: immich-microservices
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
command: [ "start.sh", "microservices" ]
|
|
environment:
|
|
DB_HOSTNAME: immich_postgres
|
|
DB_USERNAME: postgres
|
|
DB_PASSWORD: postgres
|
|
DB_DATABASE_NAME: immich
|
|
depends_on:
|
|
- immich_redis
|
|
- immich_postgres
|
|
volumes:
|
|
- ${NASCOMPOSE_DATA?}/media/photos/:/usr/src/app/upload/
|
|
restart: unless-stopped
|
|
|
|
immich-machine-learning:
|
|
hostname: immich-machine-learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
|
volumes:
|
|
- ${NASCOMPOSE_SERVICES?}/photo-collector/volumes/imich_ml_cache/:/cache/
|
|
restart: unless-stopped
|
|
|
|
immich_redis:
|
|
hostname: immich_redis
|
|
image: redis
|
|
restart: unless-stopped
|
|
|
|
immich_postgres:
|
|
hostname: immich_postgres
|
|
image: tensorchord/pgvecto-rs:pg14-v0.1.11
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: immich
|
|
volumes:
|
|
- ${NASCOMPOSE_SERVICES?}/photo-collector/volumes/immich_postgres_data/:/var/lib/postgresql/data/
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
reverse-proxy:
|
|
external: true
|