created preentry script to help with local development

This commit is contained in:
Jamie (Bear) Murphy 2022-04-08 21:49:35 +01:00 committed by Jamie Murphy
parent 919d139b6b
commit 4ef67d6071
4 changed files with 22 additions and 0 deletions

View file

@ -16,12 +16,14 @@ services:
- ./reports:/etc/netbox/reports:z,ro
- ./scripts:/etc/netbox/scripts:z,ro
- netbox-media-files:/opt/netbox/netbox/media:z
# - ./custom_preentry.sh:/opt/netbox/preentry.sh
netbox-worker:
<<: *netbox
depends_on:
- redis
- postgres
command:
- /opt/netbox/preentry.sh
- /opt/netbox/venv/bin/python
- /opt/netbox/netbox/manage.py
- rqworker