feat: influxdb template

This commit is contained in:
sashagoncharov19 2024-10-27 18:58:38 +00:00
parent 707d609b46
commit b7d45341bc
4 changed files with 45 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -0,0 +1,11 @@
services:
influxdb:
image: influxdb:2.7.10
restart: unless-stopped
volumes:
- influxdb2-data:/var/lib/influxdb2
- influxdb2-config:/etc/influxdb2
volumes:
influxdb2-data:
influxdb2-config:

View File

@ -0,0 +1,19 @@
import {
type DomainSchema,
type Schema,
type Template,
generateRandomDomain,
} from "../utils";
export function generate(schema: Schema): Template {
const domains: DomainSchema[] = [
{
host: generateRandomDomain(schema),
port: 8086,
serviceName: "influxdb",
},
];
return {
domains,
};
}

View File

@ -557,4 +557,19 @@ export const templates: TemplateData[] = [
tags: ["cloud", "monitoring"],
load: () => import("./portainer/index").then((m) => m.generate),
},
{
id: "influxdb",
name: "InfluxDB",
version: "2.7.10",
description:
"InfluxDB 2.7 is the platform purpose-built to collect, store, process and visualize time series data.",
logo: "influxdb.png",
links: {
github: "https://github.com/influxdata/influxdb",
website: "https://www.influxdata.com/",
docs: "https://docs.influxdata.com/influxdb/v2/",
},
tags: ["self-hosted", "open-source", "storage", "database"],
load: () => import("./influxdb/index").then((m) => m.generate),
},
];