Skip to content

Commit b97c177

Browse files
authored
Merge pull request #1501 from tobiasge/remove-housekeeping-container
Housekeeping
2 parents c49af09 + 67eff20 commit b97c177

File tree

5 files changed

+0
-31
lines changed

5 files changed

+0
-31
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ COPY ${NETBOX_PATH} /opt/netbox
7979
COPY docker/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py
8080
COPY docker/ldap_config.docker.py /opt/netbox/netbox/netbox/ldap_config.py
8181
COPY docker/docker-entrypoint.sh /opt/netbox/docker-entrypoint.sh
82-
COPY docker/housekeeping.sh /opt/netbox/housekeeping.sh
8382
COPY docker/launch-netbox.sh /opt/netbox/launch-netbox.sh
8483
COPY configuration/ /etc/netbox/config/
8584
COPY docker/nginx-unit.json /etc/unit/

docker-compose.test.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ services:
2828
start_period: 40s
2929
timeout: 3s
3030
interval: 15s
31-
netbox-housekeeping:
32-
<<: *netbox
33-
command:
34-
- /opt/netbox/housekeeping.sh
35-
healthcheck:
36-
test: ps -aux | grep -v grep | grep -q housekeeping || exit 1
37-
start_period: 40s
38-
timeout: 3s
39-
interval: 15s
4031

4132
postgres:
4233
image: docker.io/postgres:17-alpine

docker-compose.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@ services:
3131
start_period: 20s
3232
timeout: 3s
3333
interval: 15s
34-
netbox-housekeeping:
35-
<<: *netbox
36-
depends_on:
37-
netbox:
38-
condition: service_healthy
39-
command:
40-
- /opt/netbox/housekeeping.sh
41-
healthcheck:
42-
test: ps -aux | grep -v grep | grep -q housekeeping || exit 1
43-
start_period: 20s
44-
timeout: 3s
45-
interval: 15s
4634

4735
# postgres
4836
postgres:

docker/housekeeping.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

env/netbox.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ EMAIL_USERNAME=netbox
1515
EMAIL_USE_SSL=false
1616
EMAIL_USE_TLS=false
1717
GRAPHQL_ENABLED=true
18-
HOUSEKEEPING_INTERVAL=86400
1918
MEDIA_ROOT=/opt/netbox/netbox/media
2019
METRICS_ENABLED=false
2120
REDIS_CACHE_DATABASE=1

0 commit comments

Comments
 (0)