update
This commit is contained in:
parent
606703b12c
commit
f68acf8182
|
@ -11,6 +11,14 @@ Automatic updates of containers.
|
|||
* [Github](https://github.com/containrrr/watchtower)
|
||||
* [DockerHub image used](https://hub.docker.com/r/containrrr/watchtower)
|
||||
|
||||
Watchtower is an application that will monitor the running Docker containers
|
||||
and watch for changes to the images that those containers
|
||||
were originally started from. If watchtower detects that an image has changed,
|
||||
it will automatically restart the container using the new image.
|
||||
|
||||
As of now, Watchtower needs to always pull images to know if they changed.
|
||||
This can be bandwidth intensive, so its scheduled checks should account for this.
|
||||
|
||||
# Files and directory structure
|
||||
|
||||
```
|
||||
|
@ -18,12 +26,18 @@ Automatic updates of containers.
|
|||
└── ~/
|
||||
└── docker/
|
||||
└── watchtower/
|
||||
└── 🗋 docker-compose.yml
|
||||
├── .env
|
||||
└── docker-compose.yml
|
||||
```
|
||||
|
||||
* `.env` - a file containing environmental variables for docker compose
|
||||
* `docker-compose.yml` - a docker compose file, telling docker how to build the containers
|
||||
|
||||
Only these two files must be provided.
|
||||
|
||||
# docker-compose
|
||||
|
||||
Scheduled to run every saturday at midnight</br>
|
||||
Scheduled to run every saturday at midnight using environmental variable.</br>
|
||||
Heads up that not a typical cron format is used,
|
||||
[seconds are the first digit](https://pkg.go.dev/github.com/robfig/cron@v1.2.0?tab=doc#hdr-CRON_Expression_Format).
|
||||
|
||||
|
|
Loading…
Reference in New Issue