You've already forked watchtower
							
							
				mirror of
				https://github.com/containrrr/watchtower.git
				synced 2025-10-31 00:17:44 +02:00 
			
		
		
		
	Fix syntax highlight and typo in docs (#712)
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user