Skip to content

Commit

Permalink
Merge pull request #133 from nazar-pc/patch-1
Browse files Browse the repository at this point in the history
Example of running with Docker
  • Loading branch information
NiceGuyIT committed Aug 15, 2023
2 parents cbc6a3b + 9566595 commit a1e8126
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,18 @@ This exporter supports TLS and basic authentication.
To use TLS and/or basic authentication, you need to pass a configuration file
using the `--web.config.file` parameter. The format of the file is described
[in the exporter-toolkit repository](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md).

## Example of running in Docker

Minimal functional `docker-compose.yml`:
```yaml
version: "3"

services:
smartctl-exporter:
image: prometheuscommunity/smartctl-exporter
privileged: true
user: root
ports:
- "9633:9633"
```

0 comments on commit a1e8126

Please sign in to comment.