Sign inSign up

ajeeth/docker-netbox

By ajeeth

Updated over 7 years ago

docker image for digitalocean netbox

Image
1

7.2K

ajeeth/docker-netbox repository overview

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.

Tag summary

Content type

Image

Digest

Size

402.5 MB

Last updated

over 7 years ago

docker pull ajeeth/docker-netbox