diff options
author | Raphaël Catarino <raphcatarino@gmail.com> | 2022-03-19 13:52:41 +0100 |
---|---|---|
committer | Raphaël Catarino <raphcatarino@gmail.com> | 2022-03-19 13:52:41 +0100 |
commit | e2ebf9973bec9884154093d6bd7a9688261e6fed (patch) | |
tree | 6280a2013c5ebeab70681cce7d72db85c342880b /docs/customservices.md | |
parent | 049610bc9178a57732356801e20488cf669eda5e (diff) | |
download | homer-e2ebf9973bec9884154093d6bd7a9688261e6fed.tar.gz homer-e2ebf9973bec9884154093d6bd7a9688261e6fed.tar.zst homer-e2ebf9973bec9884154093d6bd7a9688261e6fed.zip |
select environments
Diffstat (limited to 'docs/customservices.md')
-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 cb68e1d..2e65f19 100644 --- a/docs/customservices.md +++ b/docs/customservices.md | |||
@@ -131,6 +131,7 @@ For Prometheus you need to set the type to Prometheus and provide a url. | |||
131 | This service displays info about the total number of containers managed by your Portainer instance. | 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 | 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. | 133 | it to the apikey field. |
134 | 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. | ||
134 | 135 | ||
135 | See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens | 136 | See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens |
136 | 137 | ||
@@ -140,4 +141,7 @@ See https://docs.portainer.io/v/ce-2.11/user/account-settings#access-tokens | |||
140 | url: "http://192.168.0.151/" | 141 | url: "http://192.168.0.151/" |
141 | type: "Portainer" | 142 | type: "Portainer" |
142 | apikey: "MY-SUPER-SECRET-API-KEY" | 143 | apikey: "MY-SUPER-SECRET-API-KEY" |
144 | # environments: | ||
145 | # - "raspberry" | ||
146 | # - "local" | ||
143 | ``` | 147 | ``` |