mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-24 03:06:48 +01:00
docs/vmanomaly: fix example snippets (#7174)
### Describe Your Changes
fix of typos and improper version references in code snippets of example
usage
### Checklist
The following checks are **mandatory**:
- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
(cherry picked from commit 63a9fb34d1
)
This commit is contained in:
parent
cd7dd8a89b
commit
4d91e536f1
@ -130,7 +130,7 @@ services:
|
|||||||
# ...
|
# ...
|
||||||
vmanomaly:
|
vmanomaly:
|
||||||
container_name: vmanomaly
|
container_name: vmanomaly
|
||||||
image: victoriametrics/vmanomaly:latest
|
image: victoriametrics/vmanomaly:v1.16.1
|
||||||
# ...
|
# ...
|
||||||
ports:
|
ports:
|
||||||
- "8490:8490"
|
- "8490:8490"
|
||||||
@ -144,7 +144,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
# set the environment variable for the model dump directory
|
# set the environment variable for the model dump directory
|
||||||
- VMANOMALY_MODEL_DUMPS_DIR=/vmanomaly/tmp/models/
|
- VMANOMALY_MODEL_DUMPS_DIR=/vmanomaly/tmp/models/
|
||||||
VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/
|
- VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/
|
||||||
platform: "linux/amd64"
|
platform: "linux/amd64"
|
||||||
command:
|
command:
|
||||||
- "/config.yaml"
|
- "/config.yaml"
|
||||||
|
@ -229,7 +229,7 @@ This will expose metrics at `http://0.0.0.0:8080/metrics` page.
|
|||||||
To use *vmanomaly* you need to pull docker image:
|
To use *vmanomaly* you need to pull docker image:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker pull victoriametrics/vmanomaly:latest
|
docker pull victoriametrics/vmanomaly:v1.16.1
|
||||||
```
|
```
|
||||||
|
|
||||||
> Note: please check what is latest release in [CHANGELOG](https://docs.victoriametrics.com/anomaly-detection/changelog/)
|
> Note: please check what is latest release in [CHANGELOG](https://docs.victoriametrics.com/anomaly-detection/changelog/)
|
||||||
@ -239,7 +239,7 @@ docker pull victoriametrics/vmanomaly:latest
|
|||||||
You can put a tag on it for your convenience:
|
You can put a tag on it for your convenience:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker image tag victoriametrics/vmanomaly:latest vmanomaly
|
docker image tag victoriametrics/vmanomaly:v1.16.1 vmanomaly
|
||||||
```
|
```
|
||||||
Here is an example of how to run *vmanomaly* docker container with [license file](#licensing):
|
Here is an example of how to run *vmanomaly* docker container with [license file](#licensing):
|
||||||
|
|
||||||
|
@ -32,13 +32,13 @@ Below are the steps to get `vmanomaly` up and running inside a Docker container:
|
|||||||
1. Pull Docker image:
|
1. Pull Docker image:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker pull victoriametrics/vmanomaly:latest
|
docker pull victoriametrics/vmanomaly:v1.16.1
|
||||||
```
|
```
|
||||||
|
|
||||||
2. (Optional step) tag the `vmanomaly` Docker image:
|
2. (Optional step) tag the `vmanomaly` Docker image:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker image tag victoriametrics/vmanomaly:latest vmanomaly
|
docker image tag victoriametrics/vmanomaly:v1.16.1 vmanomaly
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Start the `vmanomaly` Docker container with a *license file*, use the command below.
|
3. Start the `vmanomaly` Docker container with a *license file*, use the command below.
|
||||||
@ -70,7 +70,7 @@ docker run -it --user 1000:1000 \
|
|||||||
services:
|
services:
|
||||||
# ...
|
# ...
|
||||||
vmanomaly:
|
vmanomaly:
|
||||||
image: victoriametrics/vmanomaly:latest
|
image: victoriametrics/vmanomaly:v1.16.1
|
||||||
volumes:
|
volumes:
|
||||||
$YOUR_LICENSE_FILE_PATH:/license
|
$YOUR_LICENSE_FILE_PATH:/license
|
||||||
$YOUR_CONFIG_FILE_PATH:/config.yml
|
$YOUR_CONFIG_FILE_PATH:/config.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user