Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZTB_LAB2020
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Robert Piotrowski
ZTB_LAB2020
Commits
ed6e4c37
Commit
ed6e4c37
authored
4 years ago
by
Robert Piotrowski
Browse files
Options
Downloads
Patches
Plain Diff
Ustawiono wersje 1.7 dla influxdb
parent
f102f4ee
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lab02/README.md
+3
-3
3 additions, 3 deletions
lab02/README.md
with
3 additions
and
3 deletions
lab02/README.md
+
3
−
3
View file @
ed6e4c37
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment