mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
feat: change default media location to /data (#20367)
* feat!: change default media location to /data * feat: dynamically detect media location
This commit is contained in:
parent
4cae15f28d
commit
58521c9efb
39 changed files with 316 additions and 209 deletions
|
|
@ -36,7 +36,6 @@ services:
|
|||
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,6 @@ services:
|
|||
build:
|
||||
context: ../
|
||||
dockerfile: server/Dockerfile
|
||||
environment:
|
||||
- IMMICH_MEDIA_LOCATION=/data
|
||||
volumes:
|
||||
- ${UPLOAD_LOCATION}/photos:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ services:
|
|||
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
||||
volumes:
|
||||
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
|
||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||
- ${UPLOAD_LOCATION}:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue