From bc8f5967c4979dc89d502db0ec9d8fdad5fac6d4 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 15 Dec 2024 09:49:12 +0100 Subject: [PATCH] TZ support --- Dockerfile | 3 ++- README.md | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81f71be..20fa4a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ ENV \ USERNAME=theuser \ PHP=none \ PUID=1000 \ - PGID=1000 + PGID=1000 \ + TZ=Etc/UTC ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ] diff --git a/README.md b/README.md index a2b8948..c7a29fd 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,9 @@ services: - ./ssh:/ssh # add authorized_keys file here environment: PHP: php84 # none (default), php82, php83, php84 - PUID: 1000 - PGID: 1000 + PUID: 1000 # default: 1000 + PGID: 1000 # default: 1000 + TZ: Etc/UTC # default: Etc/UTC ``` The `/data/www` directory and its contents will be chowned to `$PUID:$PGID` and chmodded to `0755` for directories and `0644` for files at container start.