Added custom files location for immich
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
|
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
|
||||||
|
|
||||||
# The location where your uploaded files are stored
|
# The location where your uploaded files are stored
|
||||||
UPLOAD_LOCATION=./library
|
UPLOAD_LOCATION=/custom/location/on/your/system/immich/immich_files
|
||||||
|
THUMB_LOCATION=/custom/location/on/your/system/immich/thumbs
|
||||||
|
ENCODED_VIDEO_LOCATION=/custom/location/on/your/system/immich/encoded-video
|
||||||
|
PROFILE_LOCATION=/custom/location/on/your/system/immich/profile
|
||||||
# The location where your database files are stored
|
# The location where your database files are stored
|
||||||
DB_DATA_LOCATION=./postgres
|
DB_DATA_LOCATION=./postgres
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ services:
|
|||||||
command: ['start.sh', 'immich']
|
command: ['start.sh', 'immich']
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- ${THUMB_LOCATION}:/usr/src/app/upload/thumbs
|
||||||
|
- ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
|
||||||
|
- ${PROFILE_LOCATION}:/usr/src/app/upload/profile
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
@@ -51,6 +54,9 @@ services:
|
|||||||
command: ['start.sh', 'microservices']
|
command: ['start.sh', 'microservices']
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- ${THUMB_LOCATION}:/usr/src/app/upload/thumbs
|
||||||
|
- ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video
|
||||||
|
- ${PROFILE_LOCATION}:/usr/src/app/upload/profile
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user