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:
Fred Navruzov 2024-10-03 16:30:24 +02:00 committed by hagen1778
parent cd7dd8a89b
commit 4d91e536f1
No known key found for this signature in database
GPG Key ID: 3BF75F3741CA9640
3 changed files with 7 additions and 7 deletions

View File

@ -130,7 +130,7 @@ services:
# ...
vmanomaly:
container_name: vmanomaly
image: victoriametrics/vmanomaly:latest
image: victoriametrics/vmanomaly:v1.16.1
# ...
ports:
- "8490:8490"
@ -144,7 +144,7 @@ services:
environment:
# set the environment variable for the model dump directory
- VMANOMALY_MODEL_DUMPS_DIR=/vmanomaly/tmp/models/
VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/
- VMANOMALY_DATA_DUMPS_DIR=/vmanomaly/tmp/data/
platform: "linux/amd64"
command:
- "/config.yaml"

View File

@ -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:
```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/)
@ -239,7 +239,7 @@ docker pull victoriametrics/vmanomaly:latest
You can put a tag on it for your convenience:
```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):

View File

@ -32,13 +32,13 @@ Below are the steps to get `vmanomaly` up and running inside a Docker container:
1. Pull Docker image:
```sh
docker pull victoriametrics/vmanomaly:latest
docker pull victoriametrics/vmanomaly:v1.16.1
```
2. (Optional step) tag the `vmanomaly` Docker image:
```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.
@ -70,7 +70,7 @@ docker run -it --user 1000:1000 \
services:
# ...
vmanomaly:
image: victoriametrics/vmanomaly:latest
image: victoriametrics/vmanomaly:v1.16.1
volumes:
$YOUR_LICENSE_FILE_PATH:/license
$YOUR_CONFIG_FILE_PATH:/config.yml