2 Commits
Author SHA1 Message Date
lostakj 2d634470d9 Updated docs
Build Docker image on push / docker (push) Successful in 21s
Build and push Docker image on tag / docker (push) Successful in 22s
2026-08-18 00:52:04 +02:00
lostakj 072f5bc7eb Added latest tag to tag build
Build Docker image on push / docker (push) Successful in 25s
2026-08-18 00:45:03 +02:00
2 changed files with 14 additions and 9 deletions
+1
View File
@@ -38,5 +38,6 @@ jobs:
docker buildx build \
--platform linux/amd64 \
-t "${IMAGE_NAME}:${IMAGE_TAG}" \
-t "${IMAGE_NAME}:latest" \
--push \
.
+12 -8
View File
@@ -75,26 +75,30 @@ topology with `cluster`, `node`, `pool`, `component`, `path`, and `leaf` labels:
- `pve_node_zfs_write_errors`
- `pve_node_zfs_checksum_errors`
## Build
## Pull the Latest Image
The latest published version can be downloaded from the Gitea container registry:
```sh
docker pull gitea.lostak.dev/lostakj/pve-exporter:latest
```
## Build Locally
To build the Docker image for PVE Exporter, use the following command:
```sh
docker build --rm -t gitea.lostak.dev/lostakj/pve-exporter:version .
docker build --rm -t gitea.lostak.dev/lostakj/pve-exporter:latest .
```
Replace `version` with the appropriate version tag you want to use.
## Run
To run the Docker image, use the following command:
To run the downloaded or locally built image, use the following command:
```sh
docker run --rm -d -p 9090:9090 --name pve-exporter gitea.lostak.dev/lostakj/pve-exporter:version
docker run --rm -d -p 9090:9090 --name pve-exporter gitea.lostak.dev/lostakj/pve-exporter:latest
```
Replace `version` with the appropriate version tag you used during the build.
## Usage
Once the Docker container is running, the exporter will be available on port `9090`. You can configure Prometheus to scrape metrics from the exporter by adding a new scrape configuration to your Prometheus configuration file.