Skip to content

Commit 03581dc

Browse files
authored
Doc fixes and attach config to binaries archieve (#56)
* Doc fixes and attach config to binaries archieve Signed-off-by: alexey.komyakov <[email protected]> * fix Signed-off-by: alexey.komyakov <[email protected]> * fixes Signed-off-by: alexey.komyakov <[email protected]> --------- Signed-off-by: alexey.komyakov <[email protected]>
1 parent f9954d7 commit 03581dc

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/build-and-publish-dockerhub.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ jobs:
6060
6161
- name: Archive binaries
6262
run: |
63-
tar -czvf prompp-binaries.tar.gz prompp promtool prompptool
63+
cp ./documentation/examples/prometheus.yml ./prometheus.yml
64+
tar -czvf prompp-binaries.tar.gz prompp promtool prompptool prometheus.yml
6465
6566
- name: Upload binaries as artifacts
6667
uses: actions/upload-artifact@v4

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ docker run --name prompp -d -p 127.0.0.1:9090:9090 prompp/prompp
6565

6666
Once running, Deckhouse Prom++ will be accessible at [http://localhost:9090/](http://localhost:9090/).
6767

68+
You can also add own config for Prom++ by passing config.file parameter
69+
70+
```bash
71+
docker run --name prompp -v /path/on/host/prometheus.yml:/etc/prometheus.yml -d -p 127.0.0.1:9090:9090 prompp/prompp --config.file=/etc/prometheus.yml
72+
```
6873

6974
## **Prometheus Operator**
7075

werf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ docker:
168168
ENTRYPOINT:
169169
- "/bin/prompp"
170170
CMD:
171-
- "--config.file=/etc/src.yml"
172171
- "--storage.tsdb.path=/prometheus"
173172
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
174173
- "--web.console.templates=/usr/share/prometheus/consoles"

0 commit comments

Comments
 (0)