Setting timezone in docker compose has no effect #971

Closed
opened 2026-04-05 18:04:16 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Ahim13 on 9/2/2025

Hi,

I'm having problems with 2FA, found out the issue is the time difference.
Pangolin using UTC. Tried to change the docker compose with no success.

I tried adding the environment variable TZ=Budapest
and also tried adding these to the volumes:

    - "/etc/timezone:/etc/timezone:ro"
    - "/etc/localtime:/etc/localtime:ro" 

Still after recreating the containers, it says UTC when execing into it and giving the date command.

Any solution to change the timezone for the Pangolin container?

*Originally created by @Ahim13 on 9/2/2025* Hi, I'm having problems with 2FA, found out the issue is the time difference. Pangolin using UTC. Tried to change the docker compose with no success. I tried adding the environment variable TZ=Budapest and also tried adding these to the volumes: ``` volumes: - "/etc/timezone:/etc/timezone:ro" - "/etc/localtime:/etc/localtime:ro" ``` Still after recreating the containers, it says UTC when execing into it and giving the date command. Any solution to change the timezone for the Pangolin container?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#971