Skip to content
Snippets Groups Projects
Commit ed6e4c37 authored by Robert Piotrowski's avatar Robert Piotrowski
Browse files

Ustawiono wersje 1.7 dla influxdb

parent f102f4ee
Branches
No related merge requests found
......@@ -78,14 +78,14 @@ docker restart telegraf
- Utworzenie
```bash
docker pull influxdb
docker rm influxdb
docker create -p 8086:8086 -v influxdb:/var/lib/influxdb --name influxdb influxdb
docker rm influxdb && docker volume rm influxdb
docker create -p 8086:8086 -v influxdb:/var/lib/influxdb --name influxdb:1.7 influxdb
docker run --rm \
-e INFLUXDB_DB=sensors -e INFLUXDB_ADMIN_ENABLED=true \
-e INFLUXDB_ADMIN_USER=admin -e INFLUXDB_ADMIN_PASSWORD=ztb123 \
-e INFLUXDB_USER=telegraf -e INFLUXDB_USER_PASSWORD=telegraf \
-v influxdb:/var/lib/influxdb \
influxdb /init-influxdb.sh
influxdb:1.7 /init-influxdb.sh
```
- Start kontenera
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment