Update docker-compose.yml

add machine learning cache volume
This commit is contained in:
LRVT 2023-03-20 21:44:01 +01:00 committed by GitHub
parent 33b0cf9e77
commit 34cdffdac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ services:
# container_name: immich-ml # container_name: immich-ml
# volumes: # volumes:
# - ${UPLOAD_LOCATION}:/usr/src/app/upload # - ${UPLOAD_LOCATION}:/usr/src/app/upload
# - model-cache:/cache
# env_file: # env_file:
# - .env # - .env
# environment: # environment:
@ -111,3 +112,6 @@ services:
# # Part for local lan services only # # Part for local lan services only
# - traefik.http.routers.immich.middlewares=local-ipwhitelist@file # - traefik.http.routers.immich.middlewares=local-ipwhitelist@file
# - "com.centurylinklabs.watchtower.enable=true" # - "com.centurylinklabs.watchtower.enable=true"
#volumes:
# model-cache: