mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: automatically detect media location changes (#20256)
This commit is contained in:
parent
0fdeac0417
commit
c6b25ef111
8 changed files with 43 additions and 8 deletions
|
|
@ -29,13 +29,14 @@ services:
|
|||
volumes:
|
||||
- ../server:/usr/src/app/server
|
||||
- ../open-api:/usr/src/app/open-api
|
||||
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
|
||||
- ${UPLOAD_LOCATION}/photos/upload:/usr/src/app/upload/upload
|
||||
- ${UPLOAD_LOCATION}/photos:/data
|
||||
- ${UPLOAD_LOCATION}/photos/upload:/data/upload
|
||||
- /usr/src/app/server/node_modules
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
IMMICH_MEDIA_LOCATION: /data
|
||||
IMMICH_REPOSITORY: immich-app/immich
|
||||
IMMICH_REPOSITORY_URL: https://github.com/immich-app/immich
|
||||
IMMICH_SOURCE_REF: local
|
||||
|
|
|
|||
|
|
@ -19,8 +19,10 @@ services:
|
|||
build:
|
||||
context: ../
|
||||
dockerfile: server/Dockerfile
|
||||
environment:
|
||||
- IMMICH_MEDIA_LOCATION=/data
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
|
||||
- ${UPLOAD_LOCATION}/photos:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue