-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ecd8b85
commit 3540cbe
Showing
10 changed files
with
193 additions
and
90,763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
amneziawg-exporter | ||
redis-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
FROM ubuntu:24.04 AS exporter | ||
FROM ubuntu:24.04 | ||
RUN apt-get update && \ | ||
apt-get install python3-pip -y && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
pip3 install --no-cache-dir --break-system-packages \ | ||
prometheus_client==0.20.0 \ | ||
python-decouple==3.8 \ | ||
requests==2.32.3 | ||
requests==2.32.3 \ | ||
redis==5.2.0 | ||
COPY --chmod=755 ./exporter.py ./Dockerfile / | ||
CMD ["/exporter.py"] | ||
ARG VERSION | ||
LABEL org.opencontainers.image.version=$VERSION | ||
LABEL org.opencontainers.image.source=https://github.com/amnezia-vpn/amneziawg-exporter | ||
LABEL org.opencontainers.image.description='Prometheus Exporter for AmneziaWG Server' | ||
LABEL org.opencontainers.image.authors='@shipilovds ([email protected])' | ||
LABEL org.opencontainers.image.authors='@DarthSidious007 ([email protected])' | ||
LABEL org.opencontainers.image.url=https://github.com/amnezia-vpn/amneziawg-exporter | ||
LABEL org.opencontainers.image.documentation=https://github.com/amnezia-vpn/amneziawg-exporter/blob/main/README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.