Added container for Netbox housekeeping command
Adds an additional container in which the new "housekeeping" command from Netbox v3.0.0 is run.
This commit is contained in:
@@ -20,11 +20,24 @@ services:
|
||||
<<: *netbox
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
entrypoint:
|
||||
- "/sbin/tini"
|
||||
- "--"
|
||||
command:
|
||||
- /opt/netbox/venv/bin/python
|
||||
- /opt/netbox/netbox/manage.py
|
||||
command:
|
||||
- rqworker
|
||||
netbox-housekeeping:
|
||||
<<: *netbox
|
||||
depends_on:
|
||||
- redis
|
||||
- postgres
|
||||
entrypoint:
|
||||
- "/sbin/tini"
|
||||
- "--"
|
||||
command:
|
||||
- /opt/netbox/housekeeping.sh
|
||||
|
||||
# postgres
|
||||
postgres:
|
||||
|
Reference in New Issue
Block a user