Public | Automated Build

Last pushed: 14 hours ago
Short Description
Docker image for
Full Description

Netbox docker image

Docker image for NetBox.

Using docker-compose

  1. Create a copy of docker-compose.example.yml
  2. Adapt at least the following environment variables:

    • ALLOWED_HOSTS: accepts multiple hostnames separated using spaces
    • SECRET_KEY: required, should be randomly generated and 50 characters or more

      Optionally you can also change the database password by modifying POSTGRES_PASSWORD and DB_PASS.

  3. Create a new superuser using the following command:

     $ sudo docker-compose run --rm netbox createsuperuser
  4. Start the service stack:

     $ sudo docker-compose up -d

NetBox will be available under port 8000.

Docker Pull Command
Source Repository