feat: initial Netts energy orchestrator
This commit is contained in:
29
config.example.yaml
Normal file
29
config.example.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
server:
|
||||
address: ":8080"
|
||||
readTimeout: 10s
|
||||
writeTimeout: 10s
|
||||
idleTimeout: 60s
|
||||
shutdownTimeout: 15s
|
||||
|
||||
netts:
|
||||
apiKey: "replace-with-netts-api-key"
|
||||
baseUrl: "https://netts.io"
|
||||
realIp: "1.2.3.4"
|
||||
callbackUrl: "https://your-domain.com/netts/callback"
|
||||
httpTimeout: 15s
|
||||
retry:
|
||||
maxAttempts: 3
|
||||
backoff: 2s
|
||||
maxBackoff: 10s
|
||||
|
||||
energy:
|
||||
autoAddHost: true
|
||||
minCycles: 3
|
||||
targetCycles: 10
|
||||
minEnergyThreshold: 32000
|
||||
postOrderWait: 3s
|
||||
defaultAnalyzeValue: "100.00"
|
||||
|
||||
logging:
|
||||
level: info
|
||||
format: text
|
||||
Reference in New Issue
Block a user