This commit is contained in:
parent
80f514fa90
commit
ab8ff04852
@ -119,6 +119,10 @@ EMAIL = {
|
||||
'PASSWORD': os.environ.get('EMAIL_PASSWORD', read_secret('email_password')),
|
||||
'TIMEOUT': int(os.environ.get('EMAIL_TIMEOUT', 10)), # seconds
|
||||
'FROM_EMAIL': os.environ.get('EMAIL_FROM', ''),
|
||||
'USE_SSL': os.environ.get('EMAIL_USE_SSL', 'False'),
|
||||
'USE_TLS': os.environ.get('EMAIL_USE_TLS', 'False'),
|
||||
'SSL_CERTFILE': os.environ.get('EMAIL_SSL_CERTFILE', '')
|
||||
'SSL_KEYFILE': os.environ.get('EMAIL_SSL_KEYFILE', '')
|
||||
}
|
||||
|
||||
# Enforcement of unique IP space can be toggled on a per-VRF basis.
|
||||
|
4
env/netbox.env
vendored
4
env/netbox.env
vendored
@ -9,6 +9,10 @@ EMAIL_USERNAME=netbox
|
||||
EMAIL_PASSWORD=
|
||||
EMAIL_TIMEOUT=5
|
||||
EMAIL_FROM=netbox@bar.com
|
||||
EMAIL_USE_SSL=false
|
||||
EMAIL_USE_TLS=false
|
||||
EMAIL_SSL_CERTFILE=
|
||||
EMAIL_SSL_KEYFILE=
|
||||
MEDIA_ROOT=/opt/netbox/netbox/media
|
||||
NAPALM_USERNAME=
|
||||
NAPALM_PASSWORD=
|
||||
|
Loading…
Reference in New Issue
Block a user