chore: add docker compose example

This commit is contained in:
Rasmus Wejlgaard 2026-04-25 12:16:35 +01:00
parent c50cb902f6
commit 24976bfe86

View file

@ -63,6 +63,20 @@ docker run -d \
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
Requires Go 1.22+.