Update docker compose file to have update schedule to 1 hour (#9943)
This commit is contained in:
parent
0e0b4d0d1e
commit
5e0ee52ff5
|
|
@ -18,6 +18,6 @@ services:
|
|||
image: containrrr/watchtower:latest-dev
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
# Update check interval in seconds.
|
||||
command: --interval 300 --label-enable --cleanup
|
||||
# Update check every hour.
|
||||
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
|
|
@ -55,8 +55,8 @@ services:
|
|||
image: containrrr/watchtower:latest-dev
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
# Update check interval in seconds.
|
||||
command: --interval 300 --label-enable --cleanup
|
||||
# Update check every hour.
|
||||
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||
```
|
||||
|
||||
After saving this file, `cd` to the folder that contains this file and run the following command to start Appsmith:
|
||||
|
|
|
|||
|
|
@ -17,5 +17,5 @@ services:
|
|||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
# Update check interval in seconds.
|
||||
command: --interval 300 --label-enable --cleanup
|
||||
# Update check every hour.
|
||||
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ services:
|
|||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
# Update check interval in seconds.
|
||||
command: --interval 300 --label-enable --cleanup
|
||||
# Update check every hour.
|
||||
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||
networks:
|
||||
- appsmith
|
||||
restart: always
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user