mirror of
https://github.com/RWejlgaard/octopus_exporter.git
synced 2026-05-06 04:14:44 +00:00
chore: add docker compose example (#8)
This commit is contained in:
parent
c50cb902f6
commit
ef72127d3c
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -63,6 +63,20 @@ docker run -d \
|
||||||
rwejlgaard/octopus_exporter
|
rwejlgaard/octopus_exporter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Docker Compose
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
services:
|
||||||
|
octopus-exporter:
|
||||||
|
image: rwejlgaard/octopus_exporter:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
OCTOPUS_API_KEY: sk_live_...
|
||||||
|
OCTOPUS_MPAN: "1234567890123" # optional, auto-discovered if omitted
|
||||||
|
ports:
|
||||||
|
- "9359:9359"
|
||||||
|
```
|
||||||
|
|
||||||
## Running from source
|
## Running from source
|
||||||
|
|
||||||
Requires Go 1.22+.
|
Requires Go 1.22+.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue