From 9e616ca35a54222ff0622f8c02aff249304c5ac5 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Wed, 11 Mar 2026 19:27:40 +0100 Subject: [PATCH] fix: add missing tzdata package Fix timezone not being correctly picked up due to missing package --- Dockerfile | 2 +- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 46b8ba01..b99f1957 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ENV VITE_RESTIC_VERSION=${RESTIC_VERSION} \ RUN apk update --no-cache && \ apk upgrade --no-cache && \ - apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs tini + apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs tini tzdata ENTRYPOINT ["/sbin/tini", "-s", "--"] diff --git a/README.md b/README.md index a6a4efa4..5f652a48 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ services: devices: - /dev/fuse:/dev/fuse environment: - - TZ=Europe/Paris # Set your timezone here + - TZ=Europe/Zurich # Set your timezone here - BASE_URL=http://localhost:4096 # URL you will use to access Zerobyte - APP_SECRET=94bad46...c66e25d5c2b # Generate your own secret with `openssl rand -hex 32` volumes: @@ -95,7 +95,7 @@ Zerobyte can be customized using environment variables. Below are the available | `APP_SECRET` | **Required.** A random secret key (32+ chars) used to encrypt sensitive data in the database. Generate with `openssl rand -hex 32`. | (none) | | `PORT` | The port the web interface and API will listen on. | `4096` | | `RESTIC_HOSTNAME` | The hostname used by Restic when creating snapshots. Automatically detected if a custom hostname is set in Docker. | `zerobyte` | -| `TZ` | Timezone for the container (e.g., `Europe/Paris`). **Crucial for accurate backup scheduling.** | `UTC` | +| `TZ` | Timezone for the container (e.g., `Europe/Zurich`). **Crucial for accurate backup scheduling.** | `UTC` | | `TRUSTED_ORIGINS` | Comma-separated list of extra trusted origins for CORS (e.g., `http://localhost:3000,http://example.com`). | (none) | | `LOG_LEVEL` | Logging verbosity. Options: `debug`, `info`, `warn`, `error`. | `info` | | `SERVER_IDLE_TIMEOUT` | Idle timeout for the server in seconds. | `60` | @@ -124,7 +124,7 @@ services: ports: - "4096:4096" environment: - - TZ=Europe/Paris # Set your timezone here + - TZ=Europe/Zurich # Set your timezone here - BASE_URL=http://localhost:4096 # Change this to your actual URL (use https:// for secure cookies) - APP_SECRET=94bad46...c66e25d5c2b # Generate your own secret with `openssl rand -hex 32` volumes: @@ -167,7 +167,7 @@ services: devices: - /dev/fuse:/dev/fuse environment: - - TZ=Europe/Paris + - TZ=Europe/Zurich - BASE_URL=http://localhost:4096 # URL you will use to access Zerobyte - APP_SECRET=94bad46...c66e25d5c2b # Generate your own secret with `openssl rand -hex 32` volumes: @@ -242,7 +242,7 @@ Zerobyte can use [rclone](https://rclone.org/) to support 40+ cloud storage prov devices: - /dev/fuse:/dev/fuse environment: - - TZ=Europe/Paris + - TZ=Europe/Zurich - BASE_URL=http://localhost:4096 # URL you will use to access Zerobyte volumes: - /etc/localtime:/etc/localtime:ro