Skip to content

SImple docker image that allows the developer to easily setup InfluxDB V2 user, organization and bucket.

Notifications You must be signed in to change notification settings

emanuele-falzone/influxdb-sidecar-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

influxdb-sidecar-setup

This component allows the developer to easily setup InfluxDB V2

Example

This is an example of how it can be used in a docker-compose.yml

version: '3.2'
services:
  influxdb:
    image: quay.io/influxdb/influxdb:2.0.0-alpha
    hostname: influxdb
    container_name: influxdb
    ports:
      - "9999:9999"   
  influxdb-sidecar-setup:
    image: emanuelefalzone/influxdb-sidecar-setup:1.0.0
    hostname: influxdb-sidecar-setup
    container_name: influxdb-sidecar-setup
    environment:
      INFLUX_HOSTNAME: influxdb 
      INFLUX_USERNAME: admin 
      INFLUX_PASSWORD: password 
      INFLUX_TOKEN: "d2VsY29tZQ==" 
      INFLUX_ORGANIZATION: polimi 
      INFLUX_BUCKET: bucket
      INFLUX_RETENTION_PERIOD: 0

About

SImple docker image that allows the developer to easily setup InfluxDB V2 user, organization and bucket.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published