Skip to content

Commit 3c0c7d9

Browse files
Disabled speedtest by default; moved to :latest image; installed traceroute for later
1 parent 6db7162 commit 3c0c7d9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ threshold_dns_latency = "100" # 100ms dns latency threshold as max
4444
# - In order to test your upload and download bandwidth we use speedtest.net as source. So your client will connect there and upload and download some data.
4545
# - That also means that a random server is selected for the test (usually the nearest one)
4646
# - Setting the SPEEDTEST_INTERVAL too agressively will cause speedtest.net to block your requests, recommend 15 minutes (900 seconds) and above
47-
SPEEDTEST_ENABLED="True" # set this to "True" to enable speed test function
47+
SPEEDTEST_ENABLED="False" # set this to "True" to enable speed test function
4848
SPEEDTEST_INTERVAL="937" # interval on which the speedtest will run, in seconds - note using a prime number helps reduce the number of collisions between netprobe and speed tests
4949

5050

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY requirements.txt /netprobe_lite/requirements.txt
88
ENV PYTHONUNBUFFERED=1
99
ENV PIP_DISABLE_PIP_VERSION_CHECK=on
1010

11-
RUN apt-get update && apt-get install -y iputils-ping && apt-get clean \
11+
RUN apt-get update && apt-get install -y iputils-ping && apt-get install -y traceroute && apt-get clean \
1212
&& pip install -r /netprobe_lite/requirements.txt --break-system-packages
1313

1414
WORKDIR /netprobe_lite

compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
netprobe:
2222
restart: always
2323
container_name: netprobe-probe
24-
image: "plaintextpackets/netprobe:speedtest"
24+
image: "plaintextpackets/netprobe:latest"
2525
volumes:
2626
- .:/netprobe_lite
2727
environment:
@@ -35,7 +35,7 @@ services:
3535
speedtest:
3636
restart: always
3737
container_name: netprobe-speedtest
38-
image: "plaintextpackets/netprobe:speedtest"
38+
image: "plaintextpackets/netprobe:latest"
3939
volumes:
4040
- .:/netprobe_lite
4141
environment:
@@ -49,7 +49,7 @@ services:
4949
presentation:
5050
restart: always
5151
container_name: netprobe-presentation
52-
image: "plaintextpackets/netprobe:speedtest"
52+
image: "plaintextpackets/netprobe:latest"
5353
volumes:
5454
- .:/netprobe_lite
5555
environment:

0 commit comments

Comments
 (0)