Skip to content

Releases: netbox-community/netbox-docker

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