mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
added whole content
This commit is contained in:
parent
1b5df685cb
commit
8b25e0631a
70 changed files with 5962 additions and 19 deletions
17
content/Docker/Refresh containers on pull.md
Normal file
17
content/Docker/Refresh containers on pull.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
## Setting up watchtower
|
||||
|
||||
[Watchtower](https://containrrr.dev/watchtower/) will automatically pull updated #docker containers. Can be used with [Private docker registry](Private%20docker%20registry.md) and [Drone-ci](Drone-ci.md).
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
watchtower:
|
||||
container_name: docker__watchtower
|
||||
image: v2tec/watchtower
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /home/user/.docker/config.json:/config.json
|
||||
command: --interval 60 image_1 image_2
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue