Update docker compose file to have update schedule to 1 hour (#9943)

This commit is contained in:
Subin Mathew 2021-12-23 10:48:26 +05:30 committed by GitHub
parent 0e0b4d0d1e
commit 5e0ee52ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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