Skip to content

Releases: netbox-community/netbox-docker

Version 0.10.0: SKIP_STARTUP_SCRIPTS

19 Mar 16:20
df16a43
Compare
Choose a tag to compare

This release contains a new feature contributed by @tobiasge in #128:

To speed up the startup time of netbox-docker it is possible to disable the execution of the startup scripts.

As documented, a new environment variable SKIP_STARTUP_SCRIPTS was introduced. If the variable is set to true, netbox-docker will not run the startup scripts.

To enable this new behaviour, you could add the following line to the netbox.env file:

SKIP_STARTUP_SCRIPTS=true

0.9.0

22 Feb 13:04
Compare
Choose a tag to compare

Upgrade Django #123 according to Netbox.

0.8.0

22 Feb 12:51
Compare
Choose a tag to compare

Upgrade to Alpine Linux 3.9 #126

0.7.0

07 Jan 10:12
Compare
Choose a tag to compare

This release features an example about how custom reports are integrated with netbox-docker. This was contributed by @bdlamprecht and is documented in the README.md

Additionally, in this release the value of the MAX_PAGE_SIZE variable was changed to 1000, which reflects netbox's default. @tyler-8 suggested this, and @TakeMeNL implemented it.

Thanks to all the contributors and users!

While you're here: We also have a Slack Channel on the networktocode Slack.

0.6.0

31 Oct 12:30
Compare
Choose a tag to compare

There are now a lot more initializers that are already implemented. Find examples for each of them in the initializers folder. Thanks to @aradunovic for implementing them!

netbox-docker builds containing these improvements will appear soon on Docker Hub. Images targeting a specific version of Netbox are not rebuilt however. You will need to wait on the next Netbox release in order to get them, or build them yourself.

0.5.1

16 Oct 07:38
Compare
Choose a tag to compare

The initializers for users and groups now support a permissions array. Examples:

# initializers/groups.yml
a-group-called-writer:
  users:
  - a-user-called-writer
  permissions:
  - add_device
  - change_device
  - delete_device
  - add_virtualmachine
  - change_virtualmachine
  - delete_virtualmachine
# initializers/users.yml
a-user-called-writer:
  password: writer
  permissions:
  - add_device
  - change_device
  - delete_device
  - add_virtualmachine
  - change_virtualmachine
  - delete_virtualmachine

Get a list of all available permissions:

echo "from django.contrib.auth.models import Permission\nfor p in Permission.objects.all():\n  print(p.codename);" | docker-compose exec -T netbox ./manage.py shell

Thanks to @bdlamprecht for the research that made this improvement possible.

0.5.0

14 Sep 08:34
Compare
Choose a tag to compare
  • Alpine was updated to 3.8
  • All the .env files have been moved into an /env folder.

0.4.0

16 Aug 15:23
Compare
Choose a tag to compare

From the Breaking Changes section of the README.md:

In order to use Netbox webhooks you need to add Redis and a netbox-worker to your docker-compose.yml.

Also, make sure you delete the netbox-nginx-config volume, or your nginx might get stuck.

# Stop your local netbox-docker installation
$ docker-compose down

# Find the volume
$ docker volume ls | grep netbox-nginx-config
local               netbox-docker_netbox-nginx-config

# Remove the volume
$ docker volume rm netbox-docker_netbox-nginx-config
netbox-docker_netbox-nginx-config

These changes were applied to images tagged with v2.4.3 and up. Here's how you can check if your affected by these changes:

$ docker inspect ninech/netbox:v2.4.3 --format "{{json .ContainerConfig.Labels}}"
{"NETBOX_DOCKER_PROJECT_VERSION":"0.4.0","SRC_URL":"https://github.com/digitalocean/netbox/archive/v2.4.3.tar.gz"}

If the NETBOX_DOCKER_PROJECT_VERSION says 0.4.0, you're affected.

0.3.1

08 Aug 22:35
Compare
Choose a tag to compare
Bump VERSION file