GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mhdhaidarah/NetBox-Docker

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
configuration
configuration
 
 
env
env
 
 
README.md
README.md
 
 
docker-compose.override.yml
docker-compose.override.yml
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Install Netbox on Docker

Step 1 Setup Netbox

git clone https://github.com/mhdhaidarah/NetBox-Docker.git
cd NetBox-Docker
docker compose pull

Step 2 Create Super User for Web GUI

docker compose exec netbox /opt/netbox/netbox/manage.py createsuperuser

Step 3 Test and Browse

http://<Server-IP>:8000

To make it start after reboot

docker update --restart=always netbox-docker-netbox-1
docker update --restart=always netbox-docker-netbox-worker-1
docker update --restart=always netbox-docker-postgres-1
docker update --restart=always netbox-docker-redis-1
docker update --restart=always netbox-docker-redis-cache-1

Or

docker update --restart unless-stopped netbox-docker-netbox-worker-1 netbox-docker-netbox-1 netbox-docker-redis-1 netbox-docker-redis-cache-1 netbox-docker-postgres-1

Optional

Import Devices Library

sudo apt update && sudo apt install -y python3 python3-pip python3-venv python3-dev build-essential libssl-dev libffi-dev libsqlite3-dev wget curl git
git clone https://github.com/netbox-community/Device-Type-Library-Import.git
cd Device-Type-Library-Import
python3 -m venv venv
source venv/bin/activate

pip install -r requirements.txt
cp .env.example .env

Now Setup URL to the NetBox Server & Token the token can be generated from GUI Users and select V1

EXAMPLE

NETBOX_URL=https://192.168.0.100:8000
NETBOX_TOKEN=LE0GCreKBP0v3jbXauWLVqbmzKtH3BnhI1Z184TV
REPO_URL=https://github.com/netbox-community/devicetype-library.git
REPO_BRANCH=master
IGNORE_SSL_ERRORS=True
#REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt # you should enable this if you are running on a linux sys>
#SLUGS=c9300-48u isr4431 isr4331

Update Here

sudo nano .env

Install Device Library Importer

git clone https://github.com/netbox-community/devicetype-library.git ~/Device-Type-Library-Import/repo

Select Vendors or download all

./nb-dt-import.py

OR

./nb-dt-import.py --vendors mikrotik,ubiquiti

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

7 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.