frostfs-dev-env/services/grafana/docker-compose.yml
Alex Vanin 3400bb5736
All checks were successful
/ DCO (pull_request) Successful in 1m16s
[#37] Add grafana service to visualize prometheus metrics
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-07-24 15:47:25 +03:00

26 lines
610 B
YAML

version: '2.4'
services:
grafana:
image: ${GRAFANA_IMAGE}:${GRAFANA_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: grafana
container_name: grafana
restart: on-failure
networks:
grafana_int:
internet:
ipv4_address: ${IPV4_PREFIX}.122
volumes:
- ./../../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" ]
networks:
grafana_int:
internet:
external: true
name: basenet_internet