mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: start of InfluxDB implementation
This commit is contained in:
10
config/packages/http_discovery.yaml
Normal file
10
config/packages/http_discovery.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
Psr\Http\Message\RequestFactoryInterface: '@http_discovery.psr17_factory'
|
||||
Psr\Http\Message\ResponseFactoryInterface: '@http_discovery.psr17_factory'
|
||||
Psr\Http\Message\ServerRequestFactoryInterface: '@http_discovery.psr17_factory'
|
||||
Psr\Http\Message\StreamFactoryInterface: '@http_discovery.psr17_factory'
|
||||
Psr\Http\Message\UploadedFileFactoryInterface: '@http_discovery.psr17_factory'
|
||||
Psr\Http\Message\UriFactoryInterface: '@http_discovery.psr17_factory'
|
||||
|
||||
http_discovery.psr17_factory:
|
||||
class: Http\Discovery\Psr17Factory
|
||||
@@ -19,6 +19,12 @@ parameters:
|
||||
|
||||
outgoing_ip: '%env(string:OUTGOING_IP)%'
|
||||
|
||||
influxdb_enable: '%env(bool:INFLUXDB_ENABLE)'
|
||||
influxdb_url: '%env(string:INFLUXDB_URL)%'
|
||||
influxdb_token: '%env(string:INFLUXDB_TOKEN)%'
|
||||
influxdb_bucket: '%env(string:INFLUXDB_BUCKET)%'
|
||||
influxdb_org: '%env(string:INFLUXDB_ORG)%'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
_defaults:
|
||||
|
||||
Reference in New Issue
Block a user