Tobias Genannt
c5a1557800
Removed deprecated settings
2021-08-21 18:22:24 +02:00
Ageev Pavel
dd41d09b43
Add possibility to disable server side cursors
2021-06-24 18:21:08 +03:00
Christian Mäder
493fc60401
Use black as formatter for python files
2021-02-08 18:24:29 +01:00
Christian Mäder
9d51762161
Merge pull request #359 from devon-mar/login-timeout-fix
...
Fix TypeError when using LOGIN_TIMEOUT
2020-11-13 15:36:16 +01:00
devon-mar
4276c941eb
Change LOGIN_TIMEOUT default to int
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2020-11-03 14:57:12 -08:00
devon-mar
fbfce46ce5
Fix TypeError when using LOGIN_TIMEOUT
2020-11-02 22:39:06 -08:00
Tim Oliver Rabl
255889288c
Rename SESSION_FILE_PATH default environment variable in configration.py
2020-10-30 23:06:42 +01:00
Christian Mäder
2dba2b8811
Fix default for secret_key in configuration.py
2020-10-20 21:45:37 +02:00
Christian Mäder
d0c7b87925
Improve order in configuration.py
2020-10-20 21:40:14 +02:00
Christian Mäder
ec3fd8a790
Revert accidential change to _read_secret order
2020-10-20 21:36:40 +02:00
Christian Mäder
dad0608834
Rename example.py to extra.py
...
And add some comments to the the file that hopefully guide the user.
2020-10-20 20:51:43 +02:00
Christian Mäder
553c8ea470
Update configuration.py
2020-10-20 20:49:59 +02:00
Christian Mäder
fd3d3d11d1
Tiny refactoring
2020-10-20 20:46:43 +02:00
Christian Mäder
9287995df4
Update to latest configuration
2020-10-20 19:22:52 +02:00
eemil
85fbb0af70
fix typo
...
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2020-10-20 19:20:29 +02:00
eemil
6bada6660a
Prefer secret to env variable if both are configured
2020-10-20 19:20:29 +02:00
Shuichiro MAKIGAKI
38f4474b14
Add REMOTE_AUTH_* support
2020-10-20 11:11:32 +09:00
John G
51490d0039
Added LOGIN_TIMEOUT option to configuration.py
...
Added LOGIN_TIMEOUT option to configuration.py. The option is already available in standard Netbox configuration.
2020-06-16 11:27:59 -07:00
Christian Mäder
1f38ca0a86
Merge pull request #295 from minitriga/#293_ssl_tls_env
...
Implement SSL and TLS Config
2020-05-15 09:29:02 +02:00
Alexander GITTINGS
efec435ba0
fix some issues
2020-05-14 15:37:47 +00:00
Alexander GITTINGS
ab8ff04852
#293
2020-05-14 15:09:25 +00:00
Christian Mäder
1bc1ab2a0a
Preserve compatibility
2020-05-14 16:19:38 +02:00
Ryan Merolle
64b763429f
update configuration.py for netbox 2.7.11 REDIS config
...
update configuration.py to use REDIS config referencing `tasks` in place of `webhooks`
2020-04-01 23:41:35 -04:00
nepeat
f87ffe7c33
Update configuration/configuration.py
...
Co-Authored-By: Christian Mäder <cimnine@users.noreply.github.com>
2020-03-29 01:40:08 -07:00
erin
8bc77c1bc0
Add RELEASE_CHECK_URL to configuration and default env.
2020-03-27 21:34:51 -07:00
Christian Mäder
355f9d4cf7
Prepare for Netbox 2.7
2020-01-20 08:39:26 +01:00
Stefan de Kooter
135199e597
Merge branch 'master' into patch-2
2019-12-09 22:54:30 +01:00
Stefan de Kooter
6568dff8e1
Add SSLMODE to database connection properties
...
Defaulting to SSLMODE=prefer, optional override using environment variable: DB_SSLMODE
2019-11-06 10:26:29 +01:00
Stefan de Kooter
773ec630b4
Add CONN_MAX_AGE to database connection settings
...
Defaulting to 300 seconds for the database connection to avoid new connection setup roundtrip on consecutive requests
2019-11-06 10:24:15 +01:00
Tobias Genannt
db04deca0d
Add support for custom scripts
...
Custom scripts were added to Netbox in version 2.6.3. This adds a new
directory to the image where custom scripts can be placed.
2019-10-14 09:50:05 +02:00
Christian Mäder
89b9c22252
Merge branch 'patch-1' of https://github.com/miso231/netbox-docker into miso231-patch-1
2019-07-02 21:33:36 +02:00
Christian Mäder
dc3db2d9fd
%s/digitalocean/netbox-community/gi
...
Thank you Digitalocean for sponsoring Netbox!
And thank you for letting it grow up and move out ;)
2019-07-02 21:32:58 +02:00
Michal Petko
0270fc2dca
Retype REDIS_PORT to int
2019-07-01 17:29:58 +02:00
Christian Mäder
aed5126279
Provides necessary changes for v2.6 compatibility
...
Fixes #139
2019-06-21 22:48:23 +02:00
Alexander Kinneer
5beb3093db
Add support for using SSL connections to Redis.
2019-03-19 11:35:45 -05:00
Christian Mäder
c9d9c7349e
Remove duplicated entry in configuration.py
2019-01-09 09:03:24 +01:00
Christian Mäder
6d74443f21
🐞 REDIS_PORT should be int
...
Closes #96
2018-09-14 08:50:13 +02:00
Christian Mäder
b8885e4b79
✨ Disable webhooks by default*
...
*but enable it by default for anyone who checks out the netbox-docker project
via the netbox.env file.
2018-08-13 13:17:41 -07:00
Christian Mäder
bf557877d1
✨ Read redis password like any other secret
2018-08-13 13:16:10 -07:00
Brady Lamprecht
b88974ef9f
Working implementation of webhooks using new 'redis' container
2018-08-10 17:55:09 -06:00
thde
10533ab4c3
add allow all hosts by default
2018-06-25 10:41:31 +02:00
Tobias Genannt
b46bd58e0a
Move config to /etc/netbox/config ( Fixes #54 )
...
With this the configuration is moved to /etc/netbox/config and the
default reports directory is set to /etc/netbox/reports. This enables
the user to mount reports from a config map or persistent volume in
OpenShift.
2018-04-04 10:13:30 +02:00
Christian Mäder
fc5e008bb7
🐞 Parse config correctly
...
Fixes #56
2018-03-26 11:08:09 +02:00
Tobias Genannt
ef76e4e8ea
Modifications for Openshift
...
With these modifications the netbox containers can run on Openshift.
The configuration files can be imported from a config map to the
'/etc/netbox' directory and will be loaded from there.
2018-02-22 17:22:04 +01:00