From 477e38fa8cea868e933758897269d15600fd773e Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 5 Nov 2024 02:20:17 +0300 Subject: [PATCH] immich. address and port binding customization added. --- immich/.env.dist | 3 +++ immich/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/immich/.env.dist b/immich/.env.dist index e8184fb..cc1d2d8 100644 --- a/immich/.env.dist +++ b/immich/.env.dist @@ -1,5 +1,8 @@ # 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 UPLOAD_LOCATION=./library MODEL_CACHE_LOCATION=./model-cache diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 8df8b74..593c7c3 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -22,7 +22,7 @@ services: env_file: - .env ports: - - '2283:2283' + - '${BIND_ADDRESS:-127.0.0.1}:${BIND_PORT:-2283}:2283' depends_on: - redis - database