mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +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.
This commit is contained in:
parent
13e553ba6f
commit
44de77854d
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