mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
Exposing ports on docker-compose bypasses UFW definitions, which is a high risk, so we use internal networks only to connect between containers
13 lines
214 B
YAML
13 lines
214 B
YAML
global:
|
|
scrape_interval: 5s
|
|
|
|
scrape_configs:
|
|
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['prometheus:9090']
|
|
|
|
- job_name: 'node'
|
|
static_configs:
|
|
- targets: ['node-exporter:9100']
|