mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 16:36:06 +00:00
fix(settings): TZ sets the panel time zone in Docker
Docker builds settings.py from the template, whose TIME_ZONE was fixed to UTC: TZ in docker-compose moved the container's clock and its backup time but not the panel's dates, and Django then reset the process's TZ to UTC. TIME_ZONE is now TZ, or UTC; the installer still writes the server's zone into settings.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
parent
fc96bd2261
commit
7d873d431e
4 changed files with 14 additions and 2 deletions
|
|
@ -29,6 +29,7 @@ services:
|
|||
# Host names/IPs the panel is reached by (comma-separated; "*" accepts any).
|
||||
# Without it only localhost works. Set it in docker-compose.override.yml.
|
||||
- ALLOWED_HOSTS=localhost
|
||||
# Time zone of the panel's dates and the daily backup (e.g. Europe/Istanbul)
|
||||
- TZ=UTC
|
||||
volumes:
|
||||
# Persistent SQLite database and runtime data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue