<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: InfluxData</title>
    <description>The latest articles on Forem by InfluxData (@influxdata).</description>
    <link>https://forem.com/influxdata</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F638%2F018c43ad-c2a5-4589-8192-d9eb544eb992.jpg</url>
      <title>Forem: InfluxData</title>
      <link>https://forem.com/influxdata</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/influxdata"/>
    <language>en</language>
    <item>
      <title>Spinning Up InfluxDB 2.0 (Alpha) with Docker</title>
      <dc:creator>David McKay</dc:creator>
      <pubDate>Mon, 15 Apr 2019 14:27:56 +0000</pubDate>
      <link>https://forem.com/influxdata/spinning-up-influxdb-2-0-alpha-with-docker-14k8</link>
      <guid>https://forem.com/influxdata/spinning-up-influxdb-2-0-alpha-with-docker-14k8</guid>
      <description>&lt;p&gt;&lt;strong&gt;Warning&lt;/strong&gt;: InfluxDB 2.0 (Alpha) should &lt;strong&gt;NOT&lt;/strong&gt; be used for any production workloads.&lt;/p&gt;

&lt;p&gt;While InfluxData, the company behind InfluxDB, does not provide packages for alpha builds; we do run our own alpha's for various testing and performance purposes. For this, we provide a public Docker image through &lt;a href="https://quay.io"&gt;Quay.io&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Running with Docker
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker container run &lt;span class="nt"&gt;--port&lt;/span&gt; 9999:9999 quay.io/influxdb/influxdb:2.0.0-alpha
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Running with Docker Compose
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;3"&lt;/span&gt;

&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;influxdb&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;quay.io/influxdb/influxdb:2.0.0-alpha&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;9999:9999"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Persistance
&lt;/h3&gt;

&lt;p&gt;If you need to persist your database across container restarts, you may feel free to add a volume mount directory &lt;code&gt;/root/.influxdbv2&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Configuring InfluxDB 2.0 (Alpha)
&lt;/h2&gt;

&lt;p&gt;Now that you have a container running, you'll need to configure things. InfluxDB 2.0 is different from previous releases in that authentication cannot be ignored or disabled. InfluxDB 2.0 is also multi-tenant, which means you'll need to specify an organisation for your user during setup.&lt;/p&gt;

&lt;h3&gt;
  
  
  Using the GUI
&lt;/h3&gt;

&lt;p&gt;You can configure everything through our GUI, using &lt;a href="https://localhost:9999"&gt;https://localhost:9999&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Using the CLI
&lt;/h3&gt;

&lt;p&gt;You can configure everything through our CLI, though you'll need to get "inside" the container first.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Docker&lt;/span&gt;
docker container &lt;span class="nb"&gt;exec&lt;/span&gt; &lt;span class="nt"&gt;-it&lt;/span&gt; container_name bash

&lt;span class="c"&gt;# Docker Compose&lt;/span&gt;
docker-compose &lt;span class="nb"&gt;exec &lt;/span&gt;influxdb bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now that you're inside the container, you can use our &lt;code&gt;setup&lt;/code&gt; command to configure everything interactively:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;influx setup
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you'd like to do this through a script, you can also use the command line flags:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Flags:
  &lt;span class="nt"&gt;-b&lt;/span&gt;, &lt;span class="nt"&gt;--bucket&lt;/span&gt; string     primary bucket name
  &lt;span class="nt"&gt;-f&lt;/span&gt;, &lt;span class="nt"&gt;--force&lt;/span&gt;             skip confirmation prompt
  &lt;span class="nt"&gt;-h&lt;/span&gt;, &lt;span class="nt"&gt;--help&lt;/span&gt;              Help &lt;span class="k"&gt;for &lt;/span&gt;the setup &lt;span class="nb"&gt;command&lt;/span&gt;
  &lt;span class="nt"&gt;-o&lt;/span&gt;, &lt;span class="nt"&gt;--org&lt;/span&gt; string        primary organization name
  &lt;span class="nt"&gt;-p&lt;/span&gt;, &lt;span class="nt"&gt;--password&lt;/span&gt; string   password &lt;span class="k"&gt;for &lt;/span&gt;username
  &lt;span class="nt"&gt;-r&lt;/span&gt;, &lt;span class="nt"&gt;--retention&lt;/span&gt; int     retention period &lt;span class="k"&gt;in &lt;/span&gt;hours, &lt;span class="k"&gt;else &lt;/span&gt;infinite &lt;span class="o"&gt;(&lt;/span&gt;default &lt;span class="nt"&gt;-1&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
  &lt;span class="nt"&gt;-u&lt;/span&gt;, &lt;span class="nt"&gt;--username&lt;/span&gt; string   primary username
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  API Token
&lt;/h4&gt;

&lt;p&gt;Specifying a token during setup will also allow you to set the API token for future requests. Omitting this will have one generated for you and stored in &lt;code&gt;/root/.influxdbv2/credentials&lt;/code&gt; (Inside the container).&lt;/p&gt;

&lt;p&gt;You can specify the token as such:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nt"&gt;-t&lt;/span&gt;, &lt;span class="nt"&gt;--token&lt;/span&gt; string   API token to be used throughout client calls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;That's it! Now you've got a working InfluxDB 2.0 ready for data.&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;

</description>
      <category>influxdb</category>
      <category>docker</category>
    </item>
    <item>
      <title>InfluxDB 2.0.0 Alpha 8</title>
      <dc:creator>David McKay</dc:creator>
      <pubDate>Sat, 13 Apr 2019 16:44:06 +0000</pubDate>
      <link>https://forem.com/influxdata/influxdb-2-0-0-alpha-8-24ai</link>
      <guid>https://forem.com/influxdata/influxdb-2-0-0-alpha-8-24ai</guid>
      <description>&lt;p&gt;A new release of InfluxDB 2.0 Alpha is &lt;a href="https://portal.influxdata.com/downloads"&gt;available now&lt;/a&gt;. As described in our CTO Paul Dix’s &lt;a href="https://www.influxdata.com/blog/influxdb-2-0-alpha-release-and-the-road-ahead/"&gt;original release announcement for InfluxDB 2.0&lt;/a&gt;, we will be shipping regular updates as we add new features and fix issues. Please keep in mind that these alpha builds are not meant for testing performance or production usage, but more for giving feedback on the functionality, user experience, &lt;a href="https://github.com/influxdata/influxdb/blob/master/http/swagger.yml"&gt;and APIs&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;InfluxDB 2.0.0 Alpha 8&lt;/strong&gt; — &lt;a href="https://github.com/influxdata/influxdb/blob/v2.0.0-alpha.8/CHANGELOG.md"&gt;release notes&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This release of InfluxDB 2.0 Alpha includes the following enhancements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Redesigned the navigation to make it easier to find the information you are looking for. In addition, users can quickly create new Organizations and switch between them.&lt;/li&gt;
&lt;li&gt;  We have added the ability to import from a Template for Dashboards and added a new "Getting Started with Flux" Template to help with learning the new language.&lt;/li&gt;
&lt;li&gt;  We've added the ability to give feedback and opt in to user testing sessions from the application. We want to hear what you think!&lt;/li&gt;
&lt;li&gt;  Updated Flux library to version 0.25.0. Check out the &lt;a href="https://github.com/influxdata/flux/releases/tag/v0.25.0"&gt;Flux library release&lt;/a&gt; for the latest updates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Please download and explore our latest iteration. If you find issues or have questions, please post them in our &lt;a href="https://github.com/influxdata/influxdb/issues"&gt;InfluxDB Github Repo&lt;/a&gt; or our &lt;a href="https://community.influxdata.com/c/influxdb2"&gt;Community Site&lt;/a&gt; and we will take a look. Thank you for all the interest and positive feedback so far. The latest release of InfluxDB 2.0 Alpha can be &lt;a href="https://portal.influxdata.com/downloads"&gt;downloaded here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>influxdb</category>
    </item>
  </channel>
</rss>
