From 3f13ef931998500c27309da09612d47ad00afd91 Mon Sep 17 00:00:00 2001 From: mmomjian <50788000+mmomjian@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:59:49 -0500 Subject: [PATCH 1/3] noenv --- docker/docker-compose.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4b8453ce58b0c..bb752c0d2ad10 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -19,8 +19,11 @@ services: # 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 - /etc/localtime:/etc/localtime:ro - env_file: - - .env + environment: + DB_USERNAME: ${DB_USERNAME} + DB_PASSWORD: ${DB_PASSWORD} + DB_USERNAME: ${DB_DATABASE_NAME} + TZ: $TZ ports: - '2283:2283' depends_on: @@ -40,8 +43,6 @@ services: # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable volumes: - model-cache:/cache - env_file: - - .env restart: always healthcheck: disable: false From ecf19a9a5da9460ee749a27215b4831d4e7bafb9 Mon Sep 17 00:00:00 2001 From: mmomjian <50788000+mmomjian@users.noreply.github.com> Date: Mon, 23 Dec 2024 15:04:54 -0500 Subject: [PATCH 2/3] noenv2 --- docker/example.env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/example.env b/docker/example.env index 9ad3af3c0ee1e..d3acd2d62dae0 100644 --- a/docker/example.env +++ b/docker/example.env @@ -5,8 +5,8 @@ UPLOAD_LOCATION=./library # The location where your database files are stored DB_DATA_LOCATION=./postgres -# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List -# TZ=Etc/UTC +# To set a timezone, change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List +TZ=Etc/UTC # The Immich version to use. You can pin this to a specific version like "v1.71.0" IMMICH_VERSION=release From 502b89c28c139edacdf5bbfe02e4d6b4c953a060 Mon Sep 17 00:00:00 2001 From: mmomjian <50788000+mmomjian@users.noreply.github.com> Date: Sat, 28 Dec 2024 23:17:55 -0500 Subject: [PATCH 3/3] fix TZ --- docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index bb752c0d2ad10..e2c67c68079e2 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -23,7 +23,7 @@ services: DB_USERNAME: ${DB_USERNAME} DB_PASSWORD: ${DB_PASSWORD} DB_USERNAME: ${DB_DATABASE_NAME} - TZ: $TZ + TZ: ${TZ} ports: - '2283:2283' depends_on: