mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00: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/).
This commit is contained in:
parent
3f2bfd2ff6
commit
63a9fb34d1
3 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||
|
|
|
@ -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):
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue