TZ support
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2024-12-15 09:49:12 +01:00
parent 7a8422f208
commit bc8f5967c4
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,7 @@ ENV \
USERNAME=theuser \ USERNAME=theuser \
PHP=none \ PHP=none \
PUID=1000 \ PUID=1000 \
PGID=1000 PGID=1000 \
TZ=Etc/UTC
ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ] ENTRYPOINT [ "/sbin/tini", "/app/entrypoint.sh" ]

View File

@ -20,8 +20,9 @@ services:
- ./ssh:/ssh # add authorized_keys file here - ./ssh:/ssh # add authorized_keys file here
environment: environment:
PHP: php84 # none (default), php82, php83, php84 PHP: php84 # none (default), php82, php83, php84
PUID: 1000 PUID: 1000 # default: 1000
PGID: 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. 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.