Add Netbox Docker Compose files 🐳

This commit is contained in:
Damien A
2023-11-10 18:06:55 +01:00
parent 6084479d6a
commit 4c9fa076a8
19 changed files with 1170 additions and 0 deletions

8
netbox/docker/housekeeping.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
SLEEP_SECONDS=${HOUSEKEEPING_INTERVAL:=86400}
echo "Interval set to ${SLEEP_SECONDS} seconds"
while true; do
date
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
sleep "${SLEEP_SECONDS}s"
done