mirror of
https://github.com/AdrienPoupa/docker-compose-nas.git
synced 2025-06-04 05:57:30 +02:00
Merge pull request #77 from AdrienPoupa/chore/update-immich
Some checks failed
/ validate-docker-compose (push) Has been cancelled
Some checks failed
/ validate-docker-compose (push) Has been cancelled
chore: update Immich and pin version
This commit is contained in:
commit
cfd7601449
@ -45,3 +45,4 @@ HOMEPAGE_VAR_WEATHER_LAT=
|
|||||||
HOMEPAGE_VAR_WEATHER_LONG=
|
HOMEPAGE_VAR_WEATHER_LONG=
|
||||||
HOMEPAGE_VAR_WEATHER_UNIT=metric
|
HOMEPAGE_VAR_WEATHER_UNIT=metric
|
||||||
IMMICH_DB_PASSWORD=postgres
|
IMMICH_DB_PASSWORD=postgres
|
||||||
|
IMMICH_VERSION="v1.106.4"
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
immich-server:
|
immich-server:
|
||||||
container_name: immich_server
|
container_name: immich_server
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
|
||||||
environment:
|
environment:
|
||||||
DB_HOSTNAME: immich_postgres
|
DB_HOSTNAME: immich_postgres
|
||||||
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
||||||
DB_USERNAME: postgres
|
DB_USERNAME: postgres
|
||||||
DB_DATABASE_NAME: immich
|
DB_DATABASE_NAME: immich
|
||||||
REDIS_HOSTNAME: immich_redis
|
REDIS_HOSTNAME: immich_redis
|
||||||
command: ['start.sh', 'immich']
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
@ -39,37 +38,9 @@ services:
|
|||||||
profiles:
|
profiles:
|
||||||
- immich
|
- immich
|
||||||
|
|
||||||
immich-microservices:
|
|
||||||
container_name: immich_microservices
|
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
|
||||||
environment:
|
|
||||||
DB_HOSTNAME: immich_postgres
|
|
||||||
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
|
|
||||||
DB_USERNAME: postgres
|
|
||||||
DB_DATABASE_NAME: immich
|
|
||||||
REDIS_HOSTNAME: immich_redis
|
|
||||||
devices:
|
|
||||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
|
||||||
- /dev/dri/card0:/dev/dri/card0
|
|
||||||
command: ['start.sh', 'microservices']
|
|
||||||
volumes:
|
|
||||||
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
depends_on:
|
|
||||||
- immich-redis
|
|
||||||
- immich-database
|
|
||||||
restart: always
|
|
||||||
healthcheck:
|
|
||||||
test: [ "CMD", "bash", "-c", "exec 5<>/dev/tcp/127.0.0.1/3002" ]
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
profiles:
|
|
||||||
- immich
|
|
||||||
|
|
||||||
immich-machine-learning:
|
immich-machine-learning:
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:release
|
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
|
||||||
volumes:
|
volumes:
|
||||||
- immich-model-cache:/cache
|
- immich-model-cache:/cache
|
||||||
restart: always
|
restart: always
|
||||||
|
Loading…
x
Reference in New Issue
Block a user