immich. address and port binding customization added.

This commit is contained in:
Alexey Skobkin 2024-11-05 02:20:17 +03:00
parent 42050a8e1f
commit 477e38fa8c
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
# 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
BIND_ADDRESS=127.0.0.1
BIND_PORT=2283
# The location where your uploaded files are stored # The location where your uploaded files are stored
UPLOAD_LOCATION=./library UPLOAD_LOCATION=./library
MODEL_CACHE_LOCATION=./model-cache MODEL_CACHE_LOCATION=./model-cache

View file

@ -22,7 +22,7 @@ services:
env_file: env_file:
- .env - .env
ports: ports:
- '2283:2283' - '${BIND_ADDRESS:-127.0.0.1}:${BIND_PORT:-2283}:2283'
depends_on: depends_on:
- redis - redis
- database - database