services:
  grafana:
    image: grafana/grafana-oss:latest
    container_name: hxki-grafana
    restart: unless-stopped
    user: "0"
    ports:
      - "3000:3000"
    volumes:
      - /opt/hx-ki/grafana/data:/var/lib/grafana
      - /opt/hx-ki/grafana/provisioning:/etc/grafana/provisioning
    environment:
      - NATS_URL=nats://91.98.42.205:4222
      - GF_SECURITY_ADMIN_PASSWORD=admin
      - GF_SERVER_DOMAIN=localhost
      - GF_SERVER_ROOT_URL=http://localhost:3000
