50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
services:
|
|
immich-server:
|
|
image: ghcr.io/immich-app/immich-server:release
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:8082:2283"
|
|
environment:
|
|
- DB_HOSTNAME=immich-postgres
|
|
- DB_USERNAME=${IMMICH_DB_USER}
|
|
- DB_PASSWORD=${IMMICH_DB_PASSWORD}
|
|
- DB_DATABASE_NAME=immich
|
|
- REDIS_HOSTNAME=immich-redis
|
|
volumes:
|
|
- ../data/immich/photos:/usr/src/app/upload
|
|
depends_on:
|
|
- immich-postgres
|
|
- immich-redis
|
|
networks:
|
|
- immich_internal
|
|
|
|
immich-machine-learning:
|
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ../data/immich/ml-cache:/cache
|
|
networks:
|
|
- immich_internal
|
|
|
|
immich-redis:
|
|
image: redis:7-alpine
|
|
restart: unless-stopped
|
|
networks:
|
|
- immich_internal
|
|
|
|
immich-postgres:
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=${IMMICH_DB_USER}
|
|
- POSTGRES_PASSWORD=${IMMICH_DB_PASSWORD}
|
|
- POSTGRES_DB=immich
|
|
volumes:
|
|
- ../data/immich/postgres:/var/lib/postgresql/data
|
|
networks:
|
|
- immich_internal
|
|
|
|
networks:
|
|
immich_internal:
|
|
driver: bridge
|