A Starlink exporter for Prometheus.
To run the felddy/starlink-exporter image via Docker:
docker run felddy/starlink-exporter:0.0.1
Create a docker-compose.yml file similar to the one below to use Docker Compose.
---
version: "3.7"
services:
starlink-exporter:
image: felddy/starlink-exporter:0.0.1
ports:
- target: 9817
published: 9817
protocol: tcp
Start the container and detach:
docker-compose up --detach
Pull the new image from Docker Hub:
docker-compose pull
Recreate the running container by following the previous instructions:
docker-compose up --detach
Stop the running container:
docker stop <container_id>
Pull the new image:
docker pull felddy/starlink-exporter:0.0.1
Recreate and run the container by following the previous instructions.
The images of this container are tagged with semantic
versions of the underlying starlink-exporter project that they
containerize. It is recommended that most users use a version tag (e.g.
:0.0.1).
| Image:tag | Description |
|---|---|
felddy/starlink-exporter:1.2.3 | An exact release version. |
felddy/starlink-exporter:1.2 | The most recent release matching the major and minor version numbers. |
felddy/starlink-exporter:1 | The most recent release matching the major version number. |
felddy/starlink-exporter:edge | The most recent image built from a merge into the develop branch of this repository. |
felddy/starlink-exporter:nightly | A nightly build of the develop branch of this repository. |
felddy/starlink-exporter:latest | The most recent release image pushed to a container registry. Pulling an image using the :latest tag should be avoided. |
See the tags tab on Docker Hub for a list of all the supported tags.
None
The following ports are exposed by this container:
| Port | Purpose |
|---|---|
| 9817 | Prometheus web target |
The sample Docker composition publishes the exposed port at 9817.
There are no required environment variables.
There are no optional environment variables.
There are no secrets.
Build the image locally using this git repository as the build context:
docker build \
--build-arg VERSION=0.0.1 \
--tag felddy/starlink-exporter:0.0.1 \
https://github.com/felddy/starlink-exporter.git#develop
To create images that are compatible with other platforms, you can use the
buildx feature of
Docker:
Copy the project to your machine using the Code button above
or the command line:
git clone https://github.com/felddy/starlink-exporter.git
cd starlink-exporter
Create the Dockerfile-x file with buildx platform support:
./buildx-dockerfile.sh
Build the image using buildx:
docker buildx build \
--file Dockerfile-x \
--platform linux/amd64 \
--build-arg VERSION=0.0.1 \
--output type=docker \
--tag felddy/starlink-exporter:0.0.1 .
We welcome contributions! Please see CONTRIBUTING.md for
details.
This project is released as open source under the GPLv3.
All contributions to this project will be released under the same GPLv3 license. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
Content type
Image
Digest
sha256:6e05c58fd…
Size
10.8 MB
Last updated
almost 4 years ago
docker pull felddy/starlink-exporter:nightly