2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 13:35:40 +00:00

[FR] Support creating reading initial superuser account password from file (#6144)

* factored out user creation step

* [FR] Support creating reading initial superuser account password from file
Fixes #5471

* added docs

* use env too with password file

* do not warn if passwordfile is set
This commit is contained in:
Matthias Mair
2024-01-05 21:38:53 +01:00
committed by GitHub
parent 6a6a5932f3
commit 93df90d295
3 changed files with 45 additions and 3 deletions

View File

@ -96,10 +96,11 @@ timezone: UTC
# Base currency code (or use env var INVENTREE_BASE_CURRENCY)
base_currency: USD
# Add new user on first startup
# Add new user on first startup by either adding values here or from a file
#admin_user: admin
#admin_email: info@example.com
#admin_password: inventree
#admin_password_file: '/etc/inventree/admin_password.txt'
# List of currencies supported by default. Add other currencies here to allow use in InvenTree
currencies: