From cfa59dfb40cb493c4ba728a2b8927a4dce9361a0 Mon Sep 17 00:00:00 2001 From: kyuuseiryuu Date: Tue, 24 Mar 2026 20:26:14 +0900 Subject: [PATCH] chore(docker): mount local time and timezone to container Added volume mappings for /etc/localtime and /etc/timezone to ensure the container uses the host's time and timezone settings. This prevents time discrepancies in logs and scheduled tasks without requiring manual timezone configuration inside the image. --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b5545ec..4ea2074 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,9 @@ services: build: . # set up retry times restart: on-failure:5 + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro env_file: - .env ports: