From 511278f067f33fa2c2301b2f595db29e38f0324f Mon Sep 17 00:00:00 2001 From: Sumesh Pradhan Date: Fri, 29 Apr 2022 17:16:37 +0530 Subject: [PATCH] Disable auto updates helm and docker-compose doc (#13443) --- deploy/docker/README.md | 22 ++++++++++++++-------- deploy/helm/values.yaml | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/deploy/docker/README.md b/deploy/docker/README.md index 5d1af9a66e..e2e5793395 100644 --- a/deploy/docker/README.md +++ b/deploy/docker/README.md @@ -48,16 +48,22 @@ services: - "9001:9001" volumes: - ./stacks:/appsmith-stacks - labels: - com.centurylinklabs.watchtower.enable: "true" + restart: unless-stopped + # # Uncomment the lines below to enable auto-update + # labels: + # com.centurylinklabs.watchtower.enable: "true" + + # auto_update: + # image: containrrr/watchtower:latest-dev + # volumes: + # - /var/run/docker.sock:/var/run/docker.sock + # # Update check interval in seconds. + # command: --schedule "0 0 * ? * *" --label-enable --cleanup + # restart: unless-stopped + - auto_update: - image: containrrr/watchtower - volumes: - - /var/run/docker.sock:/var/run/docker.sock - # Update check every hour. - command: --schedule "0 0 * ? * *" --label-enable --cleanup ``` +>>Note: To enable auto-update for Appsmith, please uncomment all the commented lines in the docker-compose file. After saving this file, `cd` to the folder that contains this file and run the following command to start Appsmith: diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 245764336f..32ab896e1c 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -234,7 +234,7 @@ storageClass: autoupdate: ## @param autoupdate.enabled - Enable config autoupdate ## - enabled: true + enabled: false ## @param autoupdate.scheduler - Schedule cron job to check & update Helm image ## scheduler: "0 * * * *"