feat: immich app
This commit is contained in:
parent
852bc5e845
commit
f8a81f3698
2 changed files with 51 additions and 0 deletions
36
docker/immich/docker-compose.yml
Normal file
36
docker/immich/docker-compose.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
name: immich
|
||||
|
||||
services:
|
||||
immich-server:
|
||||
container_name: immich_server
|
||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-pr-27764}
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ${IMMICH_UPLOAD_LOCATION:-/mnt/nas1/shared/immich}:/data
|
||||
environment:
|
||||
TZ: ${IMMICH_TZ:-Europe/Madrid}
|
||||
IMMICH_VERSION: ${IMMICH_IMMICH_VERSION:-v2}
|
||||
DB_HOSTNAME: ${IMMICH_DB_HOSTNAME}
|
||||
DB_PORT: ${IMMICH_DB_PORT}
|
||||
DB_USERNAME: ${IMMICH_DB_USERNAME}
|
||||
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
||||
DB_DATABASE_NAME: ${IMMICH_DB_DATABASE_NAME}
|
||||
REDIS_HOSTNAME: ${IMMICH_REDIS_HOSTNAME}
|
||||
REDIS_PORT: ${IMMICH_REDIS_HOSTNAME}
|
||||
REDIS_USERNAME: ${IMMICH_REDIS_USERNAME}
|
||||
REDIS_PASSWORD: ${IMMICH_REDIS_PASSWORD}
|
||||
REDIS_DBINDEX: ${IMMICH_REDIS_DBINDEX}
|
||||
ports:
|
||||
- '2283:2283'
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: immich_machine_learning
|
||||
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-pr-28934}
|
||||
ports:
|
||||
- "3003:3003"
|
||||
volumes:
|
||||
- ${MODEL_CACHE_LOCATION:-/mnt/nas1/shared/immich-model-cache}:/cache
|
||||
environment:
|
||||
IMMICH_VERSION: ${IMMICH_IMMICH_VERSION:-v2}
|
||||
restart: unless-stopped
|
||||
15
docker/immich/sample.env
Normal file
15
docker/immich/sample.env
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
IMMICH_UPLOAD_LOCATION=/mnt/nas1/shared/immich
|
||||
IMMICH_TZ=Europe/Madrid
|
||||
IMMICH_IMMICH_VERSION=v2
|
||||
|
||||
IMMICH_DB_HOSTNAME=192.168.1.3
|
||||
IMMICH_DB_PORT=55432
|
||||
IMMICH_DB_USERNAME=
|
||||
IMMICH_DB_PASSWORD=
|
||||
IMMICH_DB_DATABASE_NAME=
|
||||
|
||||
IMMICH_REDIS_HOSTNAME=192.168.1.3
|
||||
IMMICH_REDIS_PORT=300036
|
||||
IMMICH_REDIS_USERNAME=
|
||||
IMMICH_REDIS_PASSWORD=
|
||||
IMMICH_REDIS_DBINDEX=
|
||||
Loading…
Add table
Add a link
Reference in a new issue