From 9b998fb751c8a8b716c0d1e6dc2c16da2c3e118c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nils=20m=C3=A5s=C3=A9n?= Date: Sun, 20 Dec 2020 18:24:16 +0100 Subject: [PATCH] Fix syntax highlight and typo in docs (#712) --- docs/arguments.md | 2 +- docs/http-api-mode.md | 2 +- docs/running-multiple-instances.md | 2 +- docs/usage-overview.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/arguments.md b/docs/arguments.md index 62e73ad..a36c438 100644 --- a/docs/arguments.md +++ b/docs/arguments.md @@ -39,7 +39,7 @@ Environment Variable: N/A ## Time Zone Sets the time zone to be used by WatchTower's logs and the optional Cron scheduling argument (--schedule). If this environment variable is not set, Watchtower will use the default time zone: UTC. -To find out the right value, see [this list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), find your location and use the value in _TZ Database Name_, e.g _Europe/Rome_. The timezome can alternatively be set by volume mounting your hosts /etc/timezone file. `-v /etc/timezone:/etc/timezone:ro` +To find out the right value, see [this list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), find your location and use the value in _TZ Database Name_, e.g _Europe/Rome_. The timezone can alternatively be set by volume mounting your hosts /etc/timezone file. `-v /etc/timezone:/etc/timezone:ro` ``` Argument: N/A diff --git a/docs/http-api-mode.md b/docs/http-api-mode.md index 7d14d09..def90d5 100644 --- a/docs/http-api-mode.md +++ b/docs/http-api-mode.md @@ -6,7 +6,7 @@ Watchtower provides an HTTP API mode that enables an HTTP endpoint that can be r To enable this mode, use the flag `--http-api`. For example, in a Docker Compose config file: -```json +```yaml version: '3' services: diff --git a/docs/running-multiple-instances.md b/docs/running-multiple-instances.md index 82cd955..641f4e4 100644 --- a/docs/running-multiple-instances.md +++ b/docs/running-multiple-instances.md @@ -8,7 +8,7 @@ To define an instance monitoring scope, use the `--scope` argument or the `WATCH For example, in a Docker Compose config file: -```json +```yaml version: '3' services: diff --git a/docs/usage-overview.md b/docs/usage-overview.md index 2fa8fe7..b5737c3 100644 --- a/docs/usage-overview.md +++ b/docs/usage-overview.md @@ -41,7 +41,7 @@ docker run -d \ If you mount the config file as described above, be sure to also prepend the URL for the registry when starting up your watched image (you can omit the https://). Here is a complete docker-compose.yml file that starts up a docker container from a private repo at Docker Hub and monitors it with watchtower. Note the command argument changing the interval to 30s rather than the default 5 minutes. -```json +```yaml version: "3" services: cavo: