# Setting the timezone

**URL:** <https://vaultwarden.discourse.group/t/setting-the-timezone/4432>\
**Category:** Help\
**Created:** [February 12, 2025, 4:09pm UTC](https://vaultwarden.discourse.group/t/setting-the-timezone/4432 "2025-02-12T16:09:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomt](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tomt](https://vaultwarden.discourse.group/u/tomt)\
**Post date:** [February 12, 2025, 4:09pm UTC](https://vaultwarden.discourse.group/t/setting-the-timezone/4432/1 "2025-02-12T16:09:51Z")

</div>

I have tried a number of methods to change the timezone without success. I am new to all of this and obviously clueless… mint linux environment  
I would like the logs to reflect my time. Presently it is 5 hours ahead of my time.

{“log”:“[2025-02-12 10:56:59.548][vaultwarden][INFO] Vaultwarden process exited!\n”,“stream”:“stdout”,“time”:“2025-02-12T15:56:59.548607447Z”}

{“log”:“{"level":"info","ts":1739375819.54595,"msg":"shutdown complete","signal":"SIGTERM","exit\_code":0}\n”,“stream”:“stderr”,“time”:“2025-02-12T15:56:59.546282631Z”}

services:  
vaultwarden:  
image: vaultwarden/server:latest  
container\_name: vaultwarden  
restart: always  
environment:  
WEBSOCKET\_ENABLED: “true” # Enable WebSocket notifications.  
volumes:  
- /vaultwarden/vw-data:/data  
- “/etc/localtime:/etc/localtime:ro”

environment:  
DOMAIN:  
EMAIL: registration.  
DUCKDNS\_TOKEN: # Your Duck DNS token.  
LOG\_FILE: “/var/log/access.log”  
TZ: “TZ=America/New\_York”

Lastly is there a differences using “docker compose” vs “docker container”

thank-you

---

<div class="post-metadata">

**Author:** ![BlackDex](https://yyz2.discourse-cdn.com/free1/user_avatar/vaultwarden.discourse.group/blackdex/32/8_2.png) [@BlackDex](https://vaultwarden.discourse.group/u/BlackDex)\
**Post date:** [February 12, 2025, 9:14pm UTC](https://vaultwarden.discourse.group/t/setting-the-timezone/4432/2 "2025-02-12T21:14:28Z")

</div>

Remove the `TZ=` from the value of `TZ`
