Releases: netbox-community/netbox-docker
Version 0.11.0: Minor Version Tags and SELinux support
This release features two PRs:
- #130 by @tobiasge, which adds a new tag to the Docker images published to hub.docker.com. There will be a tag for
MAJOR.MINORreleases, i.e.v2.5.8will also be tagged asv2.5, starting with the next release of Netbox. - #131 by @Bialogs, which should allow the docker-compose setup to work on SELinux enabled hosts
Version 0.10.0: SKIP_STARTUP_SCRIPTS
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
0.8.0
0.7.0
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
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
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_virtualmachineGet 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 shellThanks to @bdlamprecht for the research that made this improvement possible.
0.5.0
- Alpine was updated to 3.8
- All the
.envfiles have been moved into an/envfolder.
0.4.0
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-configThese 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
Bump VERSION file