Giter Site home page Giter Site logo

savoirfairelinux / docker-influxdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tutumcloud/influxdb

1.0 7.0 1.0 156 KB

Docker image to run an out-of-the-box InfluxDB server

Home Page: https://registry.hub.docker.com/u/savoirfairelinux/influxdb/

License: Apache License 2.0

Shell 100.00%

docker-influxdb's Introduction

docker-influxdb

InfluxDB image

Usage

To create the image savoirfairelinux/influxdb, execute the following command on docker-influxdb folder:

docker build -t savoirfairelinux/influxdb .

Running your InfluxDB image

Start your image binding the external ports 8083 and 8086 in all interfaces to your container. Ports 8090 and 8099 are only used for clustering and should not be exposed to the internet.

docker run -d -p 8083:8083 -p 8086:8086 --expose 8090 --expose 8099 savoirfairelinux/influxdb

Configuring your InfluxDB

Open your browse to access localhost:8083 to configure InfluxDB. Fill the port which maps to 8086. The default credential is root:root. Please change it as soon as possible.

Alternatively, you can use RESTful API to talk to InfluxDB on port 8086

Initially Create Database

Use -e PRE_CREATE_DB="db1;db2;db3" to create database named "db1", "db2", and "db3" on the first time the container starts automatically. Each database name is separated by ;`. For example:

docker run -d -p 8083:8083 -p 8084:8084 -e PRE_CREATE_DB="db1;db2;db3" savoirfairelinux/influxdb:latest

docker-influxdb's People

Contributors

tifayuki avatar acaranta avatar aviau avatar fermayo avatar alangarf avatar lalyos avatar eik3 avatar bivas avatar cnf avatar kyleamathews avatar sbeam avatar fpeyre avatar

Stargazers

Kaspars Sprogis avatar

Watchers

Maxime Dupuis avatar James Cloos avatar  avatar  avatar  avatar David Barbeau avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.