diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-03-06 22:23:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 22:23:34 +0100 |
commit | 120ee25bf52e5a6809ce3919f625f269624ec32c (patch) | |
tree | aeb748042613b9c85a0c2667b152111e00afd729 /docs/customservices.md | |
parent | ba2c7c5c57c5fcf9009750faf3968a7a374ec7a3 (diff) | |
parent | edd2c9ce2dc2d6aaf8e125434ed386de7056ab1d (diff) | |
download | homer-120ee25bf52e5a6809ce3919f625f269624ec32c.tar.gz homer-120ee25bf52e5a6809ce3919f625f269624ec32c.tar.zst homer-120ee25bf52e5a6809ce3919f625f269624ec32c.zip |
Merge pull request #391 from Roundaround/portainer
Added Portainer custom service
Diffstat (limited to 'docs/customservices.md')
-rw-r--r-- | docs/customservices.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/customservices.md b/docs/customservices.md index 7e3e6b3..cb68e1d 100644 --- a/docs/customservices.md +++ b/docs/customservices.md | |||
@@ -125,3 +125,19 @@ For Prometheus you need to set the type to Prometheus and provide a url. | |||
125 | url: "http://192.168.0.151/" | 125 | url: "http://192.168.0.151/" |
126 | # subtitle: "Monitor data server" | 126 | # subtitle: "Monitor data server" |
127 | ``` | 127 | ``` |
128 | |||
129 | ## Portainer | ||
130 | |||
131 | This service displays info about the total number of containers managed by your Portainer instance. | ||
132 | In order to use it, you must be using Portainer version 1.11 or later. Generate an access token from the UI and pass | ||
133 | it to the apikey field. | ||
134 | |||
135 | See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens | ||
136 | |||
137 | ```yaml | ||
138 | - name: "Portainer" | ||
139 | logo: "assets/tools/sample.png" | ||
140 | url: "http://192.168.0.151/" | ||
141 | type: "Portainer" | ||
142 | apikey: "MY-SUPER-SECRET-API-KEY" | ||
143 | ``` | ||