mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
Immich tweaks
This commit is contained in:
@@ -4,3 +4,14 @@
|
|||||||
* [Documentation for env variables](https://immich.app/docs/install/environment-variables)
|
* [Documentation for env variables](https://immich.app/docs/install/environment-variables)
|
||||||
|
|
||||||
Reverse Poxy Port: 2283
|
Reverse Poxy Port: 2283
|
||||||
|
|
||||||
|
## Import
|
||||||
|
|
||||||
|
1. Go the the Administrator and [External Libraries](http://localhost:8000/admin/library-management)
|
||||||
|
1. Choose the path: ```/import```
|
||||||
|
1. Place your files in the immich-import directory.
|
||||||
|
1. run the [Job](http://localhost:8000/admin/jobs-status) External Libraries
|
||||||
|
|
||||||
|
## Note
|
||||||
|
|
||||||
|
If the env file doesn't work after a change, try running ```docker compose up -d --force-recreate```.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
image: ${IMMICH_IMAGE}
|
||||||
# extends:
|
# extends:
|
||||||
# file: hwaccel.transcoding.yml
|
# file: hwaccel.transcoding.yml
|
||||||
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
||||||
@@ -17,11 +17,13 @@ services:
|
|||||||
- DB_DATABASE_NAME=${IMMICH_DB_DATABASE_NAME:-immich}
|
- DB_DATABASE_NAME=${IMMICH_DB_DATABASE_NAME:-immich}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
|
ports:
|
||||||
|
- "8000:2283"
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
|
||||||
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
# Example tag: ${IMMICH_VERSION:-release}-cuda
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
image: ghcr.io/immich-app/immich-machine-learning:release
|
||||||
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
|
||||||
# file: hwaccel.ml.yml
|
# file: hwaccel.ml.yml
|
||||||
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
|
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
|
||||||
@@ -31,12 +33,12 @@ services:
|
|||||||
disable: false
|
disable: false
|
||||||
|
|
||||||
immich-redis:
|
immich-redis:
|
||||||
image: docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
|
image: ${REDIS_IMAGE}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
|
|
||||||
immich-postgres:
|
immich-postgres:
|
||||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
image: ${POSTGRES_IMAGE}
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD:-postgrespass}
|
POSTGRES_PASSWORD: ${IMMICH_DB_PASSWORD:-postgrespass}
|
||||||
POSTGRES_USER: ${IMMICH_DB_USERNAME:-postgres}
|
POSTGRES_USER: ${IMMICH_DB_USERNAME:-postgres}
|
||||||
|
|||||||
+7
-2
@@ -2,16 +2,21 @@
|
|||||||
# documentation for env variables: https://immich.app/docs/install/environment-variables
|
# documentation for env variables: https://immich.app/docs/install/environment-variables
|
||||||
|
|
||||||
## Global
|
## Global
|
||||||
COOKBOOK=/git/docker-compose-cookbooks #HELP: cookbooks
|
|
||||||
VOL_PATH=./data
|
VOL_PATH=./data
|
||||||
TZ=America/Vancouver
|
TZ=America/Vancouver
|
||||||
|
|
||||||
## App
|
## App
|
||||||
|
IMMICH_IMAGE=ghcr.io/immich-app/immich-server:release
|
||||||
IMMICH_UPLOAD_LOCATION=./library
|
IMMICH_UPLOAD_LOCATION=./library
|
||||||
IMMICH_DB_DATA_LOCATION=./postgres
|
IMMICH_DB_DATA_LOCATION=./postgres
|
||||||
IMMICH_VERSION=release
|
|
||||||
IMMICH_DB_HOSTNAME=immich-postgres
|
IMMICH_DB_HOSTNAME=immich-postgres
|
||||||
IMMICH_DB_PASSWORD=postgres
|
IMMICH_DB_PASSWORD=postgres
|
||||||
IMMICH_DB_USERNAME=postgres
|
IMMICH_DB_USERNAME=postgres
|
||||||
IMMICH_DB_DATABASE_NAME=immich
|
IMMICH_DB_DATABASE_NAME=immich
|
||||||
IMMICH_REDIS_HOSTNAME=immich-redis
|
IMMICH_REDIS_HOSTNAME=immich-redis
|
||||||
|
|
||||||
|
# REDIS
|
||||||
|
REDIS_IMAGE=docker.io/redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
|
||||||
|
|
||||||
|
# POSTGRES
|
||||||
|
POSTGRES_IMAGE=docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
||||||
Reference in New Issue
Block a user