From 11cf94872d9c8277afde8d271150996a621d120b Mon Sep 17 00:00:00 2001 From: VG Date: Thu, 11 Jul 2024 12:53:32 +0300 Subject: [PATCH] fix login args --- Dockerfile | 2 +- compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index aefbeee..812d111 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ FROM python:3.11 RUN pip install requests urllib3 ADD zte_exporter.py . -CMD python3 zte_exporter.py $PORT $IP $USERNAME $PASSWORD $LOGIN +CMD python3 zte_exporter.py $PORT $IP $USERNAME $PASSWORD $EXTRAARGS diff --git a/compose.yml b/compose.yml index 8c6d6bf..5d98586 100644 --- a/compose.yml +++ b/compose.yml @@ -9,4 +9,4 @@ services: - IP=192.168.8.1 - USERNAME=admin - PASSWORD=1234 - - LOGIN=single + - EXTRAARGS=--login single