33 lines
835 B
YAML
33 lines
835 B
YAML
services:
|
|
|
|
immich-server:
|
|
extends:
|
|
file: ${TEMPLATES_PATH}
|
|
service: default
|
|
container_name: immich_server
|
|
image: ghcr.io/immich-app/immich-server:v2.5.6
|
|
environment:
|
|
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
|
DB_HOSTNAME: postgres-with-pg-vector
|
|
DB_USERNAME: immich
|
|
DB_DATABASE_NAME: immich
|
|
REDIS_HOSTNAME: redis
|
|
volumes:
|
|
- ${MEDIA_PATH}/immich/data/library:/usr/src/app/upload
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- 2283:3001
|
|
networks:
|
|
- ip4net
|
|
|
|
immich-machine-learning:
|
|
extends:
|
|
file: ${TEMPLATES_PATH}
|
|
service: default
|
|
container_name: immich_machine_learning
|
|
image: ghcr.io/immich-app/immich-machine-learning:v2.5.6
|
|
ports:
|
|
- 3003:3003
|
|
volumes:
|
|
- ${INCLUDE_PATH}/data/immich/model-cache:/cache
|