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:
parent
389e68f6ba
commit
58debafa8a
4 changed files with 27 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue