{"owner":"netbirdio","repo":"netbird","hasDocker":true,"hasCompose":true,"hasDockerfile":false,"composePath":"client/internal/metrics/infra/docker-compose.yml","servicesCount":3,"services":[{"name":"ingest","build":{"context":"./ingest"},"restart":"unless-stopped","ports":["8087:8087"],"environment":["INGEST_LISTEN_ADDR=:8087","INFLUXDB_URL=http://influxdb:8086/api/v2/write?org=netbird&bucket=metrics&precision=ns","INFLUXDB_TOKEN=${INFLUXDB_ADMIN_TOKEN:?required}","CONFIG_METRICS_SERVER_URL=${CONFIG_METRICS_SERVER_URL:-}","CONFIG_VERSION_SINCE=${CONFIG_VERSION_SINCE:-0.0.0}","CONFIG_VERSION_UNTIL=${CONFIG_VERSION_UNTIL:-99.99.99}","CONFIG_PERIOD_MINUTES=${CONFIG_PERIOD_MINUTES:-5}"],"depends_on":["influxdb"]},{"name":"influxdb","image":"influxdb:2","restart":"unless-stopped","environment":["DOCKER_INFLUXDB_INIT_MODE=setup","DOCKER_INFLUXDB_INIT_USERNAME=admin","DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB_ADMIN_PASSWORD:?required}","DOCKER_INFLUXDB_INIT_ORG=netbird","DOCKER_INFLUXDB_INIT_BUCKET=metrics","DOCKER_INFLUXDB_INIT_RETENTION=365d","DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN:-}"],"volumes":["influxdb-data:/var/lib/influxdb2","./influxdb/scripts:/docker-entrypoint-initdb.d"]},{"name":"grafana","image":"grafana/grafana:11.6.0","restart":"unless-stopped","ports":["3001:3000"],"environment":["GF_SECURITY_ADMIN_USER=${GRAFANA_ADMIN_USER:-admin}","GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD:?required}","GF_USERS_ALLOW_SIGN_UP=false","GF_INSTALL_PLUGINS=","INFLUXDB_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN:-}"],"volumes":["grafana-data:/var/lib/grafana","./grafana/provisioning:/etc/grafana/provisioning"],"depends_on":["influxdb"]}],"exposedPorts":["8087","3001"],"dockerRunCommand":"docker run -d --name netbird -p 8087:8087 --restart always influxdb:2","podmanRunCommand":"podman run -d --name netbird -p 8087:8087 --restart always influxdb:2","skopeoInspectCommand":"skopeo inspect docker://docker.io/library/influxdb:2","orasPullCommand":"oras pull influxdb:2","registryMeta":{"provider":"dockerhub","image":"library/influxdb","canonicalImage":"docker.io/library/influxdb:2","latestTag":"2","cliCommands":{"dockerRun":"docker run -d --name netbird -p 8087:8087 --restart always influxdb:2","dockerPull":"docker pull influxdb:2","podmanRun":"podman run -d --name netbird -p 8087:8087 --restart always influxdb:2","skopeoInspect":"skopeo inspect docker://docker.io/library/influxdb:2","orasPull":"oras pull influxdb:2","composeYaml":"services:\n  netbird:\n    image: influxdb:2\n    restart: unless-stopped\n    ports:\n      - \"8087:8087\""}}}