mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-10 04:06:47 +00:00
feat(settings): database (PostgreSQL) and SMTP are configurable from the environment
This commit is contained in:
parent
9f5e8fe1c4
commit
85706c5df6
5 changed files with 99 additions and 13 deletions
|
|
@ -14,6 +14,13 @@ services:
|
|||
# - SECRET_KEY=your-custom-secret-key-here
|
||||
# Optional: comma-separated trusted CSRF origins (e.g. http://wvc.example.com,https://wvc.example.com)
|
||||
# - CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
|
||||
# Optional: PostgreSQL instead of the bundled sqlite (also WEBVIRTCLOUD_DB_PORT/_NAME/_USER)
|
||||
# - WEBVIRTCLOUD_DB_HOST=db.example.com
|
||||
# - WEBVIRTCLOUD_DB_PASSWORD=change-me
|
||||
# Optional: SMTP for e-mail OTP (also EMAIL_PORT, EMAIL_USE_TLS=0/1)
|
||||
# - EMAIL_HOST=smtp.example.com
|
||||
# - EMAIL_HOST_USER=webvirtcloud@example.com
|
||||
# - EMAIL_HOST_PASSWORD=change-me
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue