From 164accce46910dcb66c0515acc63b15d9e018455 Mon Sep 17 00:00:00 2001 From: shtse8 Date: Wed, 18 Feb 2026 01:43:53 +0000 Subject: [PATCH] feat(service): add InfluxDB template Add InfluxDB 2.x as a one-click service template. InfluxDB is a popular time-series database with 1B+ Docker Hub pulls. --- svgs/influxdb.svg | 1 + templates/compose/influxdb.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 svgs/influxdb.svg create mode 100644 templates/compose/influxdb.yaml diff --git a/svgs/influxdb.svg b/svgs/influxdb.svg new file mode 100644 index 000000000..d0d9f2c76 --- /dev/null +++ b/svgs/influxdb.svg @@ -0,0 +1 @@ +InfluxDB \ No newline at end of file diff --git a/templates/compose/influxdb.yaml b/templates/compose/influxdb.yaml new file mode 100644 index 000000000..2b2932a42 --- /dev/null +++ b/templates/compose/influxdb.yaml @@ -0,0 +1,27 @@ +# documentation: https://docs.influxdata.com/influxdb/v2/ +# slogan: InfluxDB is a high-performance time series database built for metrics, events, and real-time analytics. +# category: database +# tags: database, timeseries, monitoring, metrics, analytics +# logo: svgs/influxdb.svg +# port: 8086 + +services: + influxdb: + image: influxdb:2 + environment: + - SERVICE_FQDN_INFLUXDB_8086 + - DOCKER_INFLUXDB_INIT_MODE=setup + - DOCKER_INFLUXDB_INIT_USERNAME=${SERVICE_USER_INFLUXDB} + - DOCKER_INFLUXDB_INIT_PASSWORD=${SERVICE_PASSWORD_INFLUXDB} + - DOCKER_INFLUXDB_INIT_ORG=${DOCKER_INFLUXDB_INIT_ORG:-myorg} + - DOCKER_INFLUXDB_INIT_BUCKET=${DOCKER_INFLUXDB_INIT_BUCKET:-mybucket} + - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${SERVICE_PASSWORD_64_ADMINTOKEN} + volumes: + - influxdb-data:/var/lib/influxdb2 + - influxdb-config:/etc/influxdb2 + healthcheck: + test: ["CMD", "influx", "ping"] + interval: 10s + timeout: 5s + retries: 10 + start_period: 30s