Fixed the README
This commit is contained in:
53
README.md
53
README.md
@@ -65,11 +65,16 @@ Rename the file to *config.ini* make your changes and add it as a volume mount t
|
||||
docker latency-monitor -v /YOUR_PATH/config.ini:/app/config.ini
|
||||
```
|
||||
|
||||
|
||||
-----
|
||||
-----
|
||||
|
||||
|
||||
## Compose Files
|
||||
|
||||
### FULL-STACK
|
||||
|
||||
1st thing to do is creating the *docker-compose.yml:
|
||||
1st thing to do is creating the *docker-compose.yml from [docker-compose-full_stack.yml](./docker-compose-full_stack.yml):
|
||||
|
||||
```
|
||||
cp docker-compose-full_stack.yml docker-compose.yml
|
||||
@@ -145,10 +150,56 @@ then you have to do the following
|
||||
chown -R 472:472 /opt/docker/containers/grafana/var_lib
|
||||
```
|
||||
|
||||
#### Lets go
|
||||
|
||||
```
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
should do the job
|
||||
|
||||
|
||||
-----
|
||||
-----
|
||||
|
||||
|
||||
### STANDALONE
|
||||
|
||||
1st thing to do is creating the *docker-compose.yml from [docker-compose-standalone.yml](./docker-compose-standalone.yml):
|
||||
|
||||
```
|
||||
cp docker-compose-standalone.yml docker-compose.yml
|
||||
```
|
||||
|
||||
|
||||
#### Variables
|
||||
|
||||
Below paragraph:
|
||||
|
||||
```
|
||||
####################################################
|
||||
# LATENCY-MONITOR
|
||||
####################################################
|
||||
```
|
||||
|
||||
in the **.env** file *(env needs to be renamed to .env)* configure following variables:
|
||||
|
||||
- YOUR_ORGANIZATION
|
||||
- YOUR_BUCKET_NAME
|
||||
- YOUR_ADMIN_TOKEN
|
||||
- YOUR_MONITORED_TARGET
|
||||
- YOUR_MONITORED_TARGET_TIMER
|
||||
- YOUR_MONITORED_TARGET_LOCATION
|
||||
|
||||
|
||||
#### Lets go
|
||||
|
||||
```
|
||||
docker-compose up -d latency-monitor
|
||||
```
|
||||
|
||||
should do the job
|
||||
|
||||
|
||||
## Authors
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
version: '2.4'
|
||||
|
||||
services:
|
||||
|
||||
|
||||
# latency-monitor
|
||||
latency-monitor:
|
||||
container_name: latency-monitor
|
||||
hostname: latency-monitor
|
||||
build: ./Docker_Build
|
||||
depends_on:
|
||||
- influxdb
|
||||
restart: always
|
||||
environment:
|
||||
- INFLUX_URL
|
||||
- INFLUX_TOKEN
|
||||
- INFLUX_BUCKET
|
||||
- INFLUX_ORG
|
||||
- TARGET_HOST
|
||||
- TARGET_TIMER
|
||||
- TARGET_LOCATION
|
||||
Reference in New Issue
Block a user