chore: add docker compose example (#8)

This commit is contained in:
Rasmus Wejlgaard 2026-04-25 12:21:06 +01:00 committed by GitHub
parent c50cb902f6
commit ef72127d3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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+.