1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 17:06:09 +00:00
webvirtcloud/conf
catborise 29a1cbcace feat: an installation's own settings in data/local_settings.py; settings.py is part of the code
Every update rebuilt settings.py from the template, and the operator put
back their own values by reading a diff: a forgotten DATABASES started
the panel on a new, empty sqlite database. Docker users who needed an
option only settings.py has (LDAP, OTP_ENABLED, LOGIN_TRUSTED_PROXIES)
mounted their own copy and kept it up to date by hand.

webvirtcloud/settings.py is now the tracked file (no template, no copy
in the installer, the image, the container's start or CI), and it runs
data/local_settings.py last: the installation's own values, which an
update does not touch, kept in Docker's data volume, in the panel's
backups and readable by the panel's user only. The installer writes the
time zone, the noVNC port (now checked to be a number), ALLOWED_HOSTS
and CSRF_TRUSTED_ORIGINS there instead of editing settings.py with sed.
LDAP is set up there too; settings.py keeps only python-ldap's
timeouts. The README's update steps move an older version's own
settings.py into the backup before git pull and have its values moved
into the local file once.
2026-11-20 17:50:43 +03:00
..
daemon fix(console): a serial console waits for its VM's start instead of closing 2026-11-10 18:57:20 +03:00
docker feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
nginx fix(nginx): a request body is at most 64 MiB 2026-11-06 19:50:20 +03:00
systemd feat(conf): the panel's backups are copied off site every day 2026-11-03 11:30:10 +03:00
install-lib.sh feat: an installation's own settings in data/local_settings.py; settings.py is part of the code 2026-11-20 17:50:43 +03:00
requirements-ldap.txt build: LDAP login's packages are optional 2026-10-18 22:50:11 +03:00
requirements.txt fix(logging): the web workers rotate the panel's log without losing lines 2026-11-10 13:48:14 +03:00
secret_generator.py build(docker): the image is Ubuntu 26.04 with supervisord in place of phusion's runit 2026-11-08 16:09:21 +03:00
test-vm.xml test(instances): isolate the live libvirt suite on shared hosts 2026-10-04 01:08:11 +03:00
webvirt-offsite.sh feat(conf): the panel's backups are copied off site every day 2026-11-03 11:30:10 +03:00