Commit Graph

44 Commits

Author SHA1 Message Date
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
Christian Mäder
6c28529736
Re-phrased the dependencies section 2017-10-16 13:09:17 +02:00
Rowan Ruseler
0ea826346d Project requirements 2017-10-16 12:33:13 +02:00
Christian Mäder
ea5b1e3b3b Update README.md 2017-10-09 22:05:46 +02:00
Christian Mäder
0f06ad20a8
👷 Show build-status in README 2017-09-29 11:07:52 +02:00
Christian Mäder
bdc52d3729
✏️ Fixes the URL to the repo in README
Fixes #4
2017-09-11 15:40:11 +02:00
Christian Mäder
e5e5f0204d
✏️ Overhaul of the README
Plus some adjustment to the `build.sh` help text.

Fixes #3
2017-09-11 15:30:52 +02:00
Christian Mäder
f9d60692f4
🐳 Adds a sample on how to run netbox tests 2017-08-30 11:10:55 +02:00
Christian Mäder
d9c1bd143d
Add suggestions from PRs in digitalocean/netbox-drocker 2017-06-09 10:14:43 +02:00
Jeremy Stretch
582b2abea8 Copied Docker components from main repo 2017-04-19 10:48:21 -04:00