From e5b4d09827074af1b2c1df814b1dacf39f2ce495 Mon Sep 17 00:00:00 2001
From: markeeisner <mark@eisner.uk>
Date: Wed, 4 Oct 2023 13:01:00 +0400
Subject: [PATCH] Remove /etc/timezone volume mount from compose (#4336)

---
 docker/docker-compose.dev.yml  | 2 --
 docker/docker-compose.prod.yml | 2 --
 docker/docker-compose.yml      | 2 --
 3 files changed, 6 deletions(-)

diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml
index a69a053c14..4231b4688b 100644
--- a/docker/docker-compose.dev.yml
+++ b/docker/docker-compose.dev.yml
@@ -13,7 +13,6 @@ services:
       - ../server:/usr/src/app
       - ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
       - /usr/src/app/node_modules
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     ports:
       - 3001:3001
@@ -42,7 +41,6 @@ services:
       - ../server:/usr/src/app
       - ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
       - /usr/src/app/node_modules
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     env_file:
       - .env
diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml
index f0ed73a364..0304299857 100644
--- a/docker/docker-compose.prod.yml
+++ b/docker/docker-compose.prod.yml
@@ -10,7 +10,6 @@ services:
     command: ["./start-server.sh"]
     volumes:
       - ${UPLOAD_LOCATION}:/usr/src/app/upload
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     env_file:
       - .env
@@ -44,7 +43,6 @@ services:
     command: ["./start-microservices.sh"]
     volumes:
       - ${UPLOAD_LOCATION}:/usr/src/app/upload
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     env_file:
       - .env
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index f789008513..528d8c14c3 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -7,7 +7,6 @@ services:
     command: ["start.sh", "immich"]
     volumes:
       - ${UPLOAD_LOCATION}:/usr/src/app/upload
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     env_file:
       - .env
@@ -26,7 +25,6 @@ services:
     command: ["start.sh", "microservices"]
     volumes:
       - ${UPLOAD_LOCATION}:/usr/src/app/upload
-      - /etc/timezone:/etc/timezone:ro
       - /etc/localtime:/etc/localtime:ro
     env_file:
       - .env