Skip to content

Commit

Permalink
docs: add section for using local datetimes for event dates
Browse files Browse the repository at this point in the history
  • Loading branch information
dangrie158 committed Jul 19, 2024
1 parent 3df36fa commit 8f3693b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,19 @@ time. You can mount this path in a volume to detect unexpected shutdowns outside

If you plan on using multiple instances of Dolce (e.g. to enable multiple configurations) make sure that if this is
mounted in a volume, no two different services access the same file.

## Use Local Timezone for Eventdates

By default, dolce uses the UTC timezone for all eventdates. This is a good default because it is the same timezone that
the docker API uses. However, if you want to use the local timezone of the host, you can set the `TZ` environment
variable to the desired timezone.

```yaml
services:
dolce:
image: dangrie158/dolce:v2.10.7
restart: unless-stopped
environment:
...
TZ: Europe/Berlin
```

0 comments on commit 8f3693b

Please sign in to comment.