Skip to content

Commit

Permalink
Multiarch, fixed some stuff in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
turbosnute committed May 23, 2020
1 parent 3e0b050 commit 627bb7e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ARG ARCH=

# Pull base image
FROM ubuntu:latest

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Øyvind Nilsen
Copyright (c) 2020 Øyvind Nilsen (turbosnute)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,20 @@ $ docker run -d -p 8086:8086 \
```

### Create Dabatase
#### Curl method
```
$ curl -G http://<INFLUXDB_SERVER:8086/query --data-urlencode "q=CREATE DATABASE mydb"
$ curl -G http://<INFLUXDB_SERVER>:8086/query --data-urlencode "q=CREATE DATABASE netatmo"
```
#### Console Method
```
docker run -d -p 8086:8086 \
-v influxdb:/var/lib/influxdb \
influxdb /bin/bash
Container#> influx
> CREATE DATABASE netatmo
> exit
```
## How to run
```
Expand Down

0 comments on commit 627bb7e

Please sign in to comment.