kora-lib 2.0.5

Core library for Kora gasless relayer
Documentation
services:
  prometheus:
    image: prom/prometheus:latest
    container_name: kora-prometheus
    ports:
      - "9090:9090"
    volumes:
      - ./prometheus.yml:/etc/prometheus/prometheus.yml
      - prometheus-data:/prometheus
    command:
      - "--config.file=/etc/prometheus/prometheus.yml"
      - "--storage.tsdb.path=/prometheus"
      - "--web.console.libraries=/etc/prometheus/console_libraries"
      - "--web.console.templates=/etc/prometheus/consoles"
    restart: unless-stopped
    extra_hosts:
      - "host.docker.internal:host-gateway" # Allow access to host machine
    networks:
      - kora-monitoring

  grafana:
    image: grafana/grafana:latest
    container_name: kora-grafana
    ports:
      - "3000:3000"
    env_file:
      - ../../../../.env
    volumes:
      - grafana-data:/var/lib/grafana
      - ./grafana/provisioning:/etc/grafana/provisioning
    depends_on:
      - prometheus
    restart: unless-stopped
    networks:
      - kora-monitoring

networks:
  kora-monitoring:
    driver: bridge

volumes:
  prometheus-data:
  grafana-data: