From d0bbe0bf34f8ccbbe683560ef3cc4a2493c5a1cc Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 14 Nov 2026 04:36:39 -0700 Subject: [PATCH] hugo, add host's timezone to the container. --- Config/HugoExample/docker-compose.example.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Config/HugoExample/docker-compose.example.yml b/Config/HugoExample/docker-compose.example.yml index f6b4340..60de59d 100644 --- a/Config/HugoExample/docker-compose.example.yml +++ b/Config/HugoExample/docker-compose.example.yml @@ -12,6 +12,9 @@ services: ports: - $NGINX_PORT:80 # Production minified files served using NGINX. #- $HUGO_PORT:1380 # Development files with drafts served by Hugo Server. + volumes: + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro environment: - REPO=$REPO - BRANCH=$BRANCH