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
|
image: containrrr/watchtower:latest-dev
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# Update check interval in seconds.
|
# Update check every hour.
|
||||||
command: --interval 300 --label-enable --cleanup
|
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,8 @@ services:
|
||||||
image: containrrr/watchtower:latest-dev
|
image: containrrr/watchtower:latest-dev
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# Update check interval in seconds.
|
# Update check every hour.
|
||||||
command: --interval 300 --label-enable --cleanup
|
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:
|
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
|
image: containrrr/watchtower
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# Update check interval in seconds.
|
# Update check every hour.
|
||||||
command: --interval 300 --label-enable --cleanup
|
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,8 @@ services:
|
||||||
image: containrrr/watchtower
|
image: containrrr/watchtower
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# Update check interval in seconds.
|
# Update check every hour.
|
||||||
command: --interval 300 --label-enable --cleanup
|
command: --schedule "0 0 * ? * *" --label-enable --cleanup
|
||||||
networks:
|
networks:
|
||||||
- appsmith
|
- appsmith
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user