Commit Graph

59 Commits

Author SHA1 Message Date
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
Christian Mäder d0b252becd ✏️ More port fixes in the README
Related to #30
2017-12-26 23:06:19 +01:00
Christian Mäder fce8a23d74 ✏️ Fixes port for nginx
Fixes #30
2017-12-26 23:03:02 +01:00
Christian Mäder 76a7b79db4
✏️ Another typo fixed 2017-12-14 18:00:11 +01:00
Christian Mäder 1f143dd690
✏️ Kubernetes has ConfigMaps as well 2017-12-14 17:58:43 +01:00
Christian Mäder bd9298e668
❇️ Make the default configuration cluster ready
This changes the default configuration to be better prepared for
usage with container management platforms, such as Docker Swarm,
Kubernetes or OpenShift.

Closes #27.
2017-12-14 12:53:19 +01:00
Christian Mäder e4ddfc925c
✏️ Some README improvements in the process 2017-11-29 15:13:55 +01:00
Christian Mäder 843342d972
Document the use of the build variable 2017-10-16 13:33:12 +02:00
Christian Mäder ec8bc17289
Fix typo. 2017-10-16 13:13:12 +02:00