[#47] grafana: Don't bind port to localhost #54

Merged
dkirillov merged 2 commits from dkirillov/frostfs-dev-env:feature/47-dont_expose_grafana_port into master 2024-09-04 19:51:19 +00:00
2 changed files with 1 additions and 5 deletions

View file

@ -14,8 +14,6 @@ services:
- ./../../vendor/hosts:/etc/hosts
- ./grafana.ini:/etc/grafana/grafana.ini
- ./provisioning:/etc/grafana/provisioning
ports:
- '3000:3000'
stop_signal: SIGKILL
env_file: [ ".env", ".int_test.env" ]

View file

@ -15,8 +15,6 @@ services:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- --config.file=/etc/prometheus/prometheus.yml
ports:
- '9090:9090'

Have you tested metrics/grafana after this fix? How does it work? Storage config contains:

# Application metrics section
prometheus:
  enabled: true
  address: :9090  # Server address
  shutdown_timeout: 15s  # Timeout for metrics HTTP server graceful shutdown
Have you tested metrics/grafana after this fix? How does it work? Storage config contains: ``` # Application metrics section prometheus: enabled: true address: :9090 # Server address shutdown_timeout: 15s # Timeout for metrics HTTP server graceful shutdown ```
stop_signal: SIGKILL
env_file: [ ".env", ".prometheus.env", ".int_test.env" ]
@ -24,4 +22,4 @@ networks:
prometheus_int:
internet:
external: true
name: basenet_internet
name: basenet_internet