new file: Containerfile new file: README.md new file: compose.yml new file: configuration.py new file: entrypoint.sh new file: local_requirements.txt new file: named.conf new file: nginx.conf new file: rndc.key
1.2 KiB
1.2 KiB
Netbox Stack
This project provides a fully working Netbox Installation connected to a BIND9 Server for DNS distribution. Further components like acme certificate management will be added eventually.
Build netbox image
You can either build the netbox container yourself with following command or let
compose pull it from my own repository at git.luethi.co. Note that the reason
i pushed all images to my repo that compose relies on is simply convenience and
reducing load on dockerhub. You can modify compose.yml to source all but the
netbox images from dockerhub instead.
# Build the image (bakes in plugins)
podman-compose --podman-build-args '\-\-network=host' build
Start the Stack via compose
# Start the full stack
podman compose up -d
Building the image directly without compose
podman build \
--build-arg PYTHON_VERSION=3.14 \
--build-arg NETBOX_VERSION=4.6.5 \
--tag localhost/netbox:4.6.5 \
.
Updating NetBox
- Bump
PYTHON_VERSIONandNETBOX_VERSIONin.env - Rebuild:
podman-compose --podman-build-args '\-\-network=host build --no-cache - Restart:
podman-compose up -d
Migrations run automatically on startup via the entrypoint.