✨ Disable webhooks by default*
*but enable it by default for anyone who checks out the netbox-docker project via the netbox.env file.
This commit is contained in:
parent
bf557877d1
commit
b8885e4b79
@ -141,7 +141,7 @@ PREFER_IPV4 = os.environ.get('PREFER_IPV4', 'False').lower() == 'true'
|
|||||||
|
|
||||||
# The Webhook event backend is disabled by default. Set this to True to enable it. Note that this requires a Redis
|
# The Webhook event backend is disabled by default. Set this to True to enable it. Note that this requires a Redis
|
||||||
# database be configured and accessible by NetBox (see `REDIS` below).
|
# database be configured and accessible by NetBox (see `REDIS` below).
|
||||||
WEBHOOKS_ENABLED = os.environ.get('WEBHOOKS_ENABLED', 'True').lower() == 'true'
|
WEBHOOKS_ENABLED = os.environ.get('WEBHOOKS_ENABLED', 'False').lower() == 'true'
|
||||||
|
|
||||||
# Redis database settings (optional). A Redis database is required only if the webhooks backend is enabled.
|
# Redis database settings (optional). A Redis database is required only if the webhooks backend is enabled.
|
||||||
REDIS = {
|
REDIS = {
|
||||||
|
@ -20,3 +20,4 @@ SUPERUSER_NAME=admin
|
|||||||
SUPERUSER_EMAIL=admin@example.com
|
SUPERUSER_EMAIL=admin@example.com
|
||||||
SUPERUSER_PASSWORD=admin
|
SUPERUSER_PASSWORD=admin
|
||||||
SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
|
SUPERUSER_API_TOKEN=0123456789abcdef0123456789abcdef01234567
|
||||||
|
WEBHOOKS_ENABLED=true
|
||||||
|
Loading…
Reference in New Issue
Block a user