From 87b343749d05a3c56e7dedb078e631ce03b2edee Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Fri, 19 Apr 2024 20:11:13 +0100 Subject: [PATCH 1/8] Add iPerf3 container. Add container name for easier management --- docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index cb5da1a..bdde356 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ version: "3.8" services: nginx: image: hybula/lookingglass-nginx:1 + container_name: lg-nginx build: context: docker/nginx dockerfile: Dockerfile @@ -12,6 +13,7 @@ services: php-fpm: image: hybula/lookingglass-php:1 + container_name: lg-php build: context: . dockerfile: docker/php-fpm/Dockerfile @@ -33,3 +35,13 @@ services: # ENABLE_CUSTOM_BLOCK: 'true' # Uncomment if you require visitors to accept the Terms of Use; the value should be a link to the terms. # LG_TERMS: http://localhost/ + + iperf3: + image: networkstatic/iperf3:latest + container_name: lg-iperf3 + ports: + - "5201:5201" + command: -s + tty: true + stdin_open: true + restart: unless-stopped From 4723633bcc3b6a684f0fe2b06c86b8b0e82e5226 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Fri, 19 Apr 2024 20:26:09 +0100 Subject: [PATCH 2/8] Change network mode of containers to host. Add iproute2 package in php-fpm image --- docker-compose.yml | 13 +++++-------- docker/nginx/nginx.conf | 2 +- docker/php-fpm/Dockerfile | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bdde356..2ff24d1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,14 +1,11 @@ -version: "3.8" - services: nginx: image: hybula/lookingglass-nginx:1 container_name: lg-nginx build: - context: docker/nginx - dockerfile: Dockerfile - ports: - - "80:80" + context: . + dockerfile: docker/nginx/Dockerfile + network_mode: host restart: unless-stopped php-fpm: @@ -17,6 +14,7 @@ services: build: context: . dockerfile: docker/php-fpm/Dockerfile + network_mode: host restart: unless-stopped environment: # For a better reference as to what these variables do, check out 'config.dist.php' or 'docker/php-fpm/src/config.php'. @@ -39,8 +37,7 @@ services: iperf3: image: networkstatic/iperf3:latest container_name: lg-iperf3 - ports: - - "5201:5201" + network_mode: host command: -s tty: true stdin_open: true diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index c95737e..3d70b27 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -41,7 +41,7 @@ http { location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass php-fpm:9000; + fastcgi_pass localhost:9000; fastcgi_index index.php; include fastcgi.conf; fastcgi_buffering on; diff --git a/docker/php-fpm/Dockerfile b/docker/php-fpm/Dockerfile index 8ba5f8a..6fdeb39 100644 --- a/docker/php-fpm/Dockerfile +++ b/docker/php-fpm/Dockerfile @@ -1,7 +1,7 @@ FROM php:8.1-fpm-bullseye RUN apt-get update && \ - apt-get --no-install-recommends -y install iputils-ping mtr traceroute && \ + apt-get --no-install-recommends -y install iputils-ping mtr traceroute iproute2 && \ rm -rf /var/lib/apt/lists/* WORKDIR /var/www/html From 7759c1c1fbe3bb990f189ade181885a7c072bca1 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Fri, 19 Apr 2024 20:39:08 +0100 Subject: [PATCH 3/8] Adjust default values to benefit from auto hiding. Minor improvements --- config.dist.php | 16 +++++++++------- docker/php-fpm/src/config.php | 16 +++++++++------- index.php | 12 +++++++----- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/config.dist.php b/config.dist.php index 5b7e2ec..e54b221 100644 --- a/config.dist.php +++ b/config.dist.php @@ -15,7 +15,7 @@ const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/'; const LG_THEME = 'auto'; // Enable the latency check feature; -const LG_CHECK_LATENCY = false; +const LG_CHECK_LATENCY = true; // Define a custom CSS file which can be used to style the LG, set false to disable, else point to the CSS file; const LG_CSS_OVERRIDES = false; @@ -63,28 +63,30 @@ const LG_METHODS = [ ]; // Define other looking glasses, this is useful if you have multiple networks and looking glasses; -const LG_LOCATIONS = [ +/* const LG_LOCATIONS = [ 'Location A' => 'https://github.com/hybula/lookingglass/', 'Location B' => 'https://github.com/hybula/lookingglass/', 'Location C' => 'https://github.com/hybula/lookingglass/', -]; +]; */ +const LG_LOCATIONS = []; // Enable the iPerf info inside the speedtest block, set to false to disable; const LG_SPEEDTEST_IPERF = true; // Define the label of an incoming iPerf test; const LG_SPEEDTEST_LABEL_INCOMING = 'iPerf3 Incoming'; // Define the command to use to test incoming speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c hostname -p 5201 -P 4'; +const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4'; // Define the label of an outgoing iPerf test; const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; +const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; -const LG_SPEEDTEST_FILES = [ +/* const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', '1G' => 'https://github.com/hybula/lookingglass/', '10G' => 'https://github.com/hybula/lookingglass/' -]; +]; */ +const LG_SPEEDTEST_FILES = []; // Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely. const LG_TERMS = false; diff --git a/docker/php-fpm/src/config.php b/docker/php-fpm/src/config.php index 1cab635..c5e34a9 100644 --- a/docker/php-fpm/src/config.php +++ b/docker/php-fpm/src/config.php @@ -15,7 +15,7 @@ const LG_LOGO_URL = 'https://github.com/hybula/lookingglass/'; const LG_THEME = 'auto'; // Enable the latency check feature; -const LG_CHECK_LATENCY = false; +const LG_CHECK_LATENCY = true; // Define a custom CSS file which can be used to style the LG, set false to disable, else point to the CSS file; const LG_CSS_OVERRIDES = false; @@ -63,28 +63,30 @@ const LG_METHODS = [ ]; // Define other looking glasses, this is useful if you have multiple networks and looking glasses; -const LG_LOCATIONS = [ +/* const LG_LOCATIONS = [ 'Location A' => 'https://github.com/hybula/lookingglass/', 'Location B' => 'https://github.com/hybula/lookingglass/', 'Location C' => 'https://github.com/hybula/lookingglass/', -]; +]; */ +const LG_LOCATIONS = []; // Enable the iPerf info inside the speedtest block, set to false to disable; const LG_SPEEDTEST_IPERF = true; // Define the label of an incoming iPerf test; const LG_SPEEDTEST_LABEL_INCOMING = 'iPerf3 Incoming'; // Define the command to use to test incoming speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c hostname -p 5201 -P 4'; +const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4'; // Define the label of an outgoing iPerf test; const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; +const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; -const LG_SPEEDTEST_FILES = [ +/* const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', '1G' => 'https://github.com/hybula/lookingglass/', '10G' => 'https://github.com/hybula/lookingglass/' -]; +]; */ +const LG_SPEEDTEST_FILES = []; // Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely. define('LG_TERMS', getenv('LG_TERMS') ?: false); diff --git a/index.php b/index.php index 2572508..340fd68 100644 --- a/index.php +++ b/index.php @@ -130,7 +130,9 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran @@ -171,14 +173,14 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran
- +
- +
@@ -272,7 +274,7 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran
- +
@@ -281,7 +283,7 @@ $templateData['csrfToken'] = $_SESSION[LookingGlass::SESSION_CSRF] = bin2hex(ran
- +
From 900c29f255535c5260b084457ee2650709b0f9d0 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Fri, 19 Apr 2024 22:57:45 +0100 Subject: [PATCH 4/8] Add iPerf3-related instructions --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aaaa5fc..432a61f 100644 --- a/README.md +++ b/README.md @@ -27,14 +27,16 @@ made user-friendly for everyone to use. It allows you to execute network related For this installation we will assume that we are working on AlmaLinux 8 or 9. Warning: This guide does not cover any security hardening or rate limiting. Note: These steps also work with AlmaLinux 9, but it will install PHP 8 instead of 7. -1. Install the required network tools: `dnf install mtr traceroute -y`. +1. Install the required network tools: `dnf install mtr traceroute iperf3 -y`. 2. Install the web server with PHP (by default it will install 7.2 on RHEL 8): `dnf install httpd mod_ssl php php-posix -y`. -3. Enable and start Apache/PHP-FPM: `systemctl enable httpd; systemctl enable php-fpm` and `systemctl start httpd; systemctl start php-fpm`. +3. Enable and start Apache/PHP-FPM: `systemctl enable --now httpd && systemctl enable --now php-fpm`. 4. Let's help MTR to work, execute the following command: `ln -s /usr/sbin/mtr /usr/bin/mtr` and also mtr helper called mtr-packet: `ln -s /usr/sbin/mtr-packet /usr/bin/mtr-packet`. 5. You *must* configure SELinux before this all works, or you can disable SELinux using `setenforce 0` and possibly make it permanent: `nano /etc/selinux/config` change to `SELINUX=disabled`. -6. Upload the contents of the ZIP to /var/www/html/. -7. Rename config.dist.php to config.php and adjust the settings. -8. (Optional) You might want to enable SSL using LetsEncrypt, take a look at [acme.sh](https://github.com/acmesh-official/acme.sh). +6. Launch iPerf3 as a daemon: `iperf3 -sD -p 5201`. +7. (Optional) You might want to add a systemd unit file for iPerf3, so it automatically starts when the system boots up. +8. Upload the contents of the ZIP to /var/www/html/. +9. Rename config.dist.php to config.php and adjust the settings. +10. (Optional) You might want to enable SSL using LetsEncrypt, take a look at [acme.sh](https://github.com/acmesh-official/acme.sh). #### Docker For installation using Docker, follow these steps and run the commands on the target machine where the application should be installed: From c7339f04cf5c32667ac5b930f758ed53c8e37572 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Fri, 19 Apr 2024 23:08:55 +0100 Subject: [PATCH 5/8] Update Nginx Dockerfile copy path --- docker/nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile index e06e03e..f9543be 100644 --- a/docker/nginx/Dockerfile +++ b/docker/nginx/Dockerfile @@ -1,3 +1,3 @@ FROM nginx:mainline-alpine -COPY nginx.conf /etc/nginx/nginx.conf +COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf From 531c39ab90b53915cd02a698838c88022971119f Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Sat, 27 Apr 2024 15:14:41 +0100 Subject: [PATCH 6/8] Change iPerf3 commands from using "LG_IPV4" back to "hostname" --- config.dist.php | 4 ++-- docker/php-fpm/src/config.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.dist.php b/config.dist.php index e54b221..4d11caf 100644 --- a/config.dist.php +++ b/config.dist.php @@ -75,11 +75,11 @@ const LG_SPEEDTEST_IPERF = true; // Define the label of an incoming iPerf test; const LG_SPEEDTEST_LABEL_INCOMING = 'iPerf3 Incoming'; // Define the command to use to test incoming speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4'; +const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c hostname -p 5201 -P 4'; // Define the label of an outgoing iPerf test; const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4 -R'; +const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; /* const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', diff --git a/docker/php-fpm/src/config.php b/docker/php-fpm/src/config.php index c5e34a9..47ed161 100644 --- a/docker/php-fpm/src/config.php +++ b/docker/php-fpm/src/config.php @@ -75,11 +75,11 @@ const LG_SPEEDTEST_IPERF = true; // Define the label of an incoming iPerf test; const LG_SPEEDTEST_LABEL_INCOMING = 'iPerf3 Incoming'; // Define the command to use to test incoming speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4'; +const LG_SPEEDTEST_CMD_INCOMING = 'iperf3 -4 -c hostname -p 5201 -P 4'; // Define the label of an outgoing iPerf test; const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; -const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c ' . LG_IPV4 . ' -p 5201 -P 4 -R'; +const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; /* const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', From 4906fd02277f97f714b1aeb3d741a148af3debf4 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Sat, 27 Apr 2024 15:19:45 +0100 Subject: [PATCH 7/8] Change default values of LG_LOCATIONS and LG_SPEEDTEST_FILES back --- config.dist.php | 10 ++++------ docker/php-fpm/src/config.php | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/config.dist.php b/config.dist.php index 4d11caf..b9f42ef 100644 --- a/config.dist.php +++ b/config.dist.php @@ -63,12 +63,11 @@ const LG_METHODS = [ ]; // Define other looking glasses, this is useful if you have multiple networks and looking glasses; -/* const LG_LOCATIONS = [ +const LG_LOCATIONS = [ 'Location A' => 'https://github.com/hybula/lookingglass/', 'Location B' => 'https://github.com/hybula/lookingglass/', 'Location C' => 'https://github.com/hybula/lookingglass/', -]; */ -const LG_LOCATIONS = []; +]; // Enable the iPerf info inside the speedtest block, set to false to disable; const LG_SPEEDTEST_IPERF = true; @@ -81,12 +80,11 @@ const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; -/* const LG_SPEEDTEST_FILES = [ +const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', '1G' => 'https://github.com/hybula/lookingglass/', '10G' => 'https://github.com/hybula/lookingglass/' -]; */ -const LG_SPEEDTEST_FILES = []; +]; // Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely. const LG_TERMS = false; diff --git a/docker/php-fpm/src/config.php b/docker/php-fpm/src/config.php index 47ed161..02ad439 100644 --- a/docker/php-fpm/src/config.php +++ b/docker/php-fpm/src/config.php @@ -63,12 +63,11 @@ const LG_METHODS = [ ]; // Define other looking glasses, this is useful if you have multiple networks and looking glasses; -/* const LG_LOCATIONS = [ +const LG_LOCATIONS = [ 'Location A' => 'https://github.com/hybula/lookingglass/', 'Location B' => 'https://github.com/hybula/lookingglass/', 'Location C' => 'https://github.com/hybula/lookingglass/', -]; */ -const LG_LOCATIONS = []; +]; // Enable the iPerf info inside the speedtest block, set to false to disable; const LG_SPEEDTEST_IPERF = true; @@ -81,12 +80,11 @@ const LG_SPEEDTEST_LABEL_OUTGOING = 'iPerf3 Outgoing'; // Define the command to use to test outgoing speed using iPerf, preferable iPerf3; const LG_SPEEDTEST_CMD_OUTGOING = 'iperf3 -4 -c hostname -p 5201 -P 4 -R'; // Define speedtest files with URLs to the actual files; -/* const LG_SPEEDTEST_FILES = [ +const LG_SPEEDTEST_FILES = [ '100M' => 'https://github.com/hybula/lookingglass/', '1G' => 'https://github.com/hybula/lookingglass/', '10G' => 'https://github.com/hybula/lookingglass/' -]; */ -const LG_SPEEDTEST_FILES = []; +]; // Define if you require visitors to agree with the Terms of Use. The value should be a link to the terms, or false to disable it completely. define('LG_TERMS', getenv('LG_TERMS') ?: false); From fb6a7a83e916322800a997789939f0277a7d3121 Mon Sep 17 00:00:00 2001 From: RealBrandon Date: Sat, 27 Apr 2024 15:57:58 +0100 Subject: [PATCH 8/8] Make iPerf3 Docker container optional. Relocate iPerf3 installation instructions in a separate section --- README.md | 28 ++++++++++++++++++++++------ docker-compose.yml | 16 ++++++++-------- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 432a61f..09b2cc9 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,14 @@ made user-friendly for everyone to use. It allows you to execute network related For this installation we will assume that we are working on AlmaLinux 8 or 9. Warning: This guide does not cover any security hardening or rate limiting. Note: These steps also work with AlmaLinux 9, but it will install PHP 8 instead of 7. -1. Install the required network tools: `dnf install mtr traceroute iperf3 -y`. +1. Install the required network tools: `dnf install mtr traceroute -y`. 2. Install the web server with PHP (by default it will install 7.2 on RHEL 8): `dnf install httpd mod_ssl php php-posix -y`. 3. Enable and start Apache/PHP-FPM: `systemctl enable --now httpd && systemctl enable --now php-fpm`. 4. Let's help MTR to work, execute the following command: `ln -s /usr/sbin/mtr /usr/bin/mtr` and also mtr helper called mtr-packet: `ln -s /usr/sbin/mtr-packet /usr/bin/mtr-packet`. 5. You *must* configure SELinux before this all works, or you can disable SELinux using `setenforce 0` and possibly make it permanent: `nano /etc/selinux/config` change to `SELINUX=disabled`. -6. Launch iPerf3 as a daemon: `iperf3 -sD -p 5201`. -7. (Optional) You might want to add a systemd unit file for iPerf3, so it automatically starts when the system boots up. -8. Upload the contents of the ZIP to /var/www/html/. -9. Rename config.dist.php to config.php and adjust the settings. -10. (Optional) You might want to enable SSL using LetsEncrypt, take a look at [acme.sh](https://github.com/acmesh-official/acme.sh). +6. Upload the contents of the ZIP to /var/www/html/. +7. Rename config.dist.php to config.php and adjust the settings. +8. (Optional) You might want to enable SSL using LetsEncrypt, take a look at [acme.sh](https://github.com/acmesh-official/acme.sh). #### Docker For installation using Docker, follow these steps and run the commands on the target machine where the application should be installed: @@ -49,6 +47,24 @@ For installation using Docker, follow these steps and run the commands on the ta 6. Create and start the containers: `docker compose up -d`. 7. Afterward, the Looking Glass should be reachable from your web browser at `http://$your_server_ip/`! +### iPerf3 Installation (Optional) +> It is recommended to install iPerf3 on a different server from your looking glass to avoid network congestion. + +#### Manual +Again, we will assume that we are working on AlmaLinux 8 or 9. +1. Install iPerf3: `dnf install iperf3 -y` +2. Launch iPerf3 as a daemon: `iperf3 -sD -p 5201`. +3. (Optional) You might want to add a systemd unit file for iPerf3, so it automatically starts when the system boots up. +4. Locate the two lines containing `LG_SPEEDTEST_CMD_INCOMING` and `LG_SPEEDTEST_CMD_OUTGOING` respectively in `config.php`. +5. Change `hostname` in these lines to the IPv4 address of your iPerf3 server. + +#### Docker +1. Uncomment the section for `iperf3` in `docker-compose.yml` if you want iPerf3 and the looking glass to be on the same server. +Otherwise, please copy the `iperf3` section and save it as `docker-compose.yml` on another server with Docker and Docker Compose installed. +2. Start the iPerf3 container: `docker compose up -d`. +3. Locate the two lines containing `LG_SPEEDTEST_CMD_INCOMING` and `LG_SPEEDTEST_CMD_OUTGOING` respectively in `docker/php-fpm/src/config.php`. +5. Change `hostname` in these lines to the IPv4 address of your iPerf3 server. + ### Upgrading Upgrading from a previous version is easy, simply overwrite your current installation with the new files. Then update your config.php accordingly, the script will automatically check for missing variables. diff --git a/docker-compose.yml b/docker-compose.yml index 2ff24d1..a53c2b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,11 +34,11 @@ services: # Uncomment if you require visitors to accept the Terms of Use; the value should be a link to the terms. # LG_TERMS: http://localhost/ - iperf3: - image: networkstatic/iperf3:latest - container_name: lg-iperf3 - network_mode: host - command: -s - tty: true - stdin_open: true - restart: unless-stopped + # iperf3: + # image: networkstatic/iperf3:latest + # container_name: lg-iperf3 + # network_mode: host + # command: -s + # tty: true + # stdin_open: true + # restart: unless-stopped