mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
housekeeping services
This commit is contained in:
parent
9d0be5096e
commit
52d35eeef3
|
|
@ -17,8 +17,14 @@ services:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
netbox-housekeeping:
|
housekeeping:
|
||||||
|
extends:
|
||||||
|
service: netbox
|
||||||
|
command: /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py housekeeping
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
- redis
|
||||||
logging:
|
logging:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
|
|
@ -48,4 +54,3 @@ services:
|
||||||
options:
|
options:
|
||||||
max-size: "20m"
|
max-size: "20m"
|
||||||
max-file: "5"
|
max-file: "5"
|
||||||
|
|
||||||
Loading…
Reference in a new issue