mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat: influxdb template
This commit is contained in:
parent
707d609b46
commit
b7d45341bc
BIN
apps/dokploy/public/templates/influxdb.png
Normal file
BIN
apps/dokploy/public/templates/influxdb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
11
apps/dokploy/templates/influxdb/docker-compose.yml
Normal file
11
apps/dokploy/templates/influxdb/docker-compose.yml
Normal 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:
|
19
apps/dokploy/templates/influxdb/index.ts
Normal file
19
apps/dokploy/templates/influxdb/index.ts
Normal 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,
|
||||
};
|
||||
}
|
@ -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),
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user