diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/customservices.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/customservices.md b/docs/customservices.md index 49798a8..d9aa43f 100644 --- a/docs/customservices.md +++ b/docs/customservices.md | |||
@@ -140,6 +140,7 @@ For Prometheus you need to set the type to Prometheus and provide a url. | |||
140 | This service displays info about the total number of containers managed by your Portainer instance. | 140 | This service displays info about the total number of containers managed by your Portainer instance. |
141 | In order to use it, you must be using Portainer version 1.11 or later. Generate an access token from the UI and pass | 141 | In order to use it, you must be using Portainer version 1.11 or later. Generate an access token from the UI and pass |
142 | it to the apikey field. | 142 | it to the apikey field. |
143 | By default, every connected environments will be checked. To select specific ones,add an "environments" entry which can be a simple string or an array containing all the selected environments name. | ||
143 | 144 | ||
144 | See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens | 145 | See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens |
145 | 146 | ||
@@ -149,6 +150,9 @@ See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens | |||
149 | url: "http://192.168.0.151/" | 150 | url: "http://192.168.0.151/" |
150 | type: "Portainer" | 151 | type: "Portainer" |
151 | apikey: "MY-SUPER-SECRET-API-KEY" | 152 | apikey: "MY-SUPER-SECRET-API-KEY" |
153 | # environments: | ||
154 | # - "raspberry" | ||
155 | # - "local" | ||
152 | ``` | 156 | ``` |
153 | 157 | ||
154 | ## Emby | 158 | ## Emby |