Commit Graph

67 Commits

Author SHA1 Message Date
Christian Mäder 8f39034014 Merge branch 'mryauch-patch-1' of https://github.com/mryauch/netbox-docker into mryauch-mryauch-patch-1 2019-05-08 11:57:43 +02:00
Christian Mäder 98833e20c8 Prepare Version 0.12.0 2019-05-08 11:43:29 +02:00
Matthew Yauch 96924736df
Updated README.md to reflect AUTH_LDAP_BIND_PASSWORD secret support 2019-05-01 08:14:26 -07:00
Christian Mäder 9eef398a9d prepare next version 2019-03-27 14:23:28 +01:00
Christian Mäder b49e6fac14
Update README.md
Fix the link to the configuration file, since it's core was "outsourced" some time ago.
2019-03-19 20:33:31 +01:00
Tobias Genannt 8c95f32b0c Make startup scripts optional
To optimize the application boot time the startup scripts can now be
disabled by an ENV variable. The default when the variable is not set,
is to run the startup scripts. This means that the default behaviour is
not changed from earlier releases.
2019-03-11 12:31:41 +01:00
Christian Mäder d4b394c999
Prepare 0.9.0 2019-02-22 14:03:42 +01:00
Christian Mäder f8ea0f74ec
Prepare 0.8.0 2019-02-22 13:49:48 +01:00
Christian Mäder e9bea0a420
Update README.md 2019-02-07 09:49:11 +01:00
Christian Mäder 4895874845
Update README.md 2019-02-07 09:47:01 +01:00
Christian Mäder 6182133c7a
Update references to netboxcommunity 2019-02-06 11:46:20 +01:00
Christian Mäder 09b4937b35
Update README 2019-02-06 11:24:01 +01:00
Christian Mäder c866bfff16
add note about breaking changes 2019-01-07 11:11:48 +01:00
Christian Mäder db7daee86e
formatted 2019-01-07 10:43:41 +01:00
Brady Lamprecht 0bae952410
Documenting reporting usage in `README.md`
Updated `README.md` on how to use the reporting feature of NetBox within this container.
2019-01-02 17:12:46 -07:00
Christian Mäder 7675e8fc03
Update Breaking Changes list 2018-10-31 14:37:07 +01:00
Aleksandar Radunovic d145e9c719 Comply to README style 2018-10-30 10:07:33 +01:00
Aleksandar Radunovic 7e6edd1bf5 Merge branch 'master' into add-more-seeds 2018-10-16 11:32:41 +02:00
Aleksandar Radunovic ab0ce20971 Update README 2018-10-15 15:15:56 +02:00
Christian Mäder 4053a714f8 Add permissions to user/group initializers
Thank you @bdlamprecht for researching how to add permissions to
users and groups in #92.

Fixes #92
2018-10-13 17:44:01 +02:00
Christian Mäder 68e6a62df1
Update README.md 2018-09-27 09:44:14 +02:00
Christian Mäder 81f8c7386d
✏️ Listed one more breaking change 2018-09-14 10:36:09 +02:00
Christian Mäder bd1c58c91e
✏️ Mention update to Alpine 3.8 2018-09-14 10:21:26 +02:00
Christian Mäder fb22a19893
✏️ Added nginx troubleshooting section 2018-08-13 15:37:06 -07:00
Christian Mäder 645ec1281c
Use a default Redis password
Although it does not provide any additional security, it shows how to
configure Redis with a password and how to use Netbox using a password
protected redis server. Something that might be considered in a classic
production deployment. (But is mostly irrelevant in e.g. a Kubernetes /
OpenShift deployment as the isolation is usually on a network level.)
2018-08-13 15:19:29 -07:00
Christian Mäder 013f81b791
♻️ Make netbox-worker it's own container
One container should ideally have one responsibility [1]. Therefore I
implemented the netbox-worker to start in it's own container. This is
possible, because netbox and the worker communicate via redis anyway.

They still use the same image underneath, just the "command" they
execute while starting different.

Or in other words: I see no reason to introduce supervisord, when we
already have docker-compose which can take care of running multiple
processes.

Also, here's another benefit: Now it's possible to view the logs of the
webhook worker independently of the other netbox logs (and vice-versa).

Other changes in this commit:
* I don't see a reason to put a password for Redis in the docker-compose
  setup, so I removed it.
* Slightly changed the nginx config, so that the nginx startup command
  becomes simpler and any error should be visible in the docker log.
* Some housekeeping in the `Dockerfile`.
* Added some troubleshooting advice regarding webhooks to the README.

I'd like to thank Brady (@bdlamprecht [2]) here who did the harder
work of figuring out what's even required to have webhooks working. [3]

[1] 
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#decouple-applications
[2] https://github.com/bdlamprecht
[3] https://github.com/ninech/netbox-docker/pull/90
2018-08-13 14:04:09 -07:00
thde 5e0b0a608b use docker-compose.yml instead of docker-compose.test.yml 2018-06-28 09:59:59 +02:00
Grokzen 7afa9454ba Bump version to 0.3.0 and add line in README describing the breaking change. 2018-05-18 21:22:05 +02:00
Grokzen cdbfdaf361 Implement fix for field 'filterable' that was broken. Added new custom field parameter 'filter_logic' 2018-05-18 21:16:01 +02:00
Tobias Genannt add2a04ae6 Fix typo 2018-04-04 13:13:41 +02:00
Christian Mäder 726efd1128
⬆️ Version increment
Because of a braking change.
2018-04-04 10:17:33 +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 0b55a24188
✏️ Version ≠ Version 2018-04-04 09:50:17 +02:00
Christian Mäder f56a79381b
Introduces a Netbox Docker project version 2018-04-04 09:44:58 +02:00
Christian Mäder f0496539b6
✏️ Moved NAPALM section
... and rephrased it a bit.
2018-03-08 09:55:56 +01:00
Christian Mäder 578bb38770
✏️ Moved ldap info into Version section 2018-03-08 09:54:34 +01:00
Christian Mäder 2d5a84e023
✏️ Made production instructions more prominent 2018-03-08 09:54:06 +01:00
Christian Mäder a59c48427f
✏️ Netbox -> NetBox 2018-03-08 09:52:35 +01:00
Brady Lamprecht 4897e0ef0e
Updating README.md to describe NAPALM settings. 2018-03-08 09:38:43 +01:00
Tobias Genannt 6a01a3379d Add django_ldap_auth
In the ldap.Dockerfile the django_ldap_auth module is installed to
enable authentication againt LDAP servers.
2018-02-27 10:09:14 +01:00
Christian Mäder 3af803f481
✏️ OpenShift Issues were resolved
Thanks to #47 Netbox seems not fit for OpenShift as well.
2018-02-22 18:31:25 +01:00
Christian Mäder 912357322a
✏️ Cosmetics 2018-02-22 18:04:31 +01: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
Christian Mäder 43cb9f7e50
Include Initializers
Initializers are startup scripts for common tasks like creating custom
fields. These are problems many users of Netbox Docker potentially face
and are therefore worth sharing.
2018-02-16 10:25:51 +01:00
Craig Askings 705cb5f58a
Update README.md
Fix url for K8s configmap, old url was 404
2018-02-16 18:30:09 +10:00
Christian Mäder 57e0c34661
Fix formatting in README.d 2018-01-29 11:41:38 +01:00
David Dieulivol 8e98b8d870 Load custom fields when creating the container. 2018-01-25 09:58:27 +01:00
Christian Mäder ce15326e7e
✏️ Explain how to do a better backup
Fixes #35
2018-01-15 11:24:48 +01:00
Christian Mäder 52e653dd30 9️⃣ Updated sponsoring message 2017-12-26 23:10:30 +01:00
Christian Mäder 54835bd72b 9️⃣ Updated sponsoring message 2017-12-26 23:08:10 +01:00