From 905cded55e7061481b4df95dcceaa860ae9b9ccf Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 28 Sep 2023 12:19:10 +0000 Subject: [PATCH] chore: update janitor interval --- .gitpod.yml | 11 +++++++++++ docker/production.yml | 3 +++ docker/stage.yml | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000000..a681be17cb --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,11 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +tasks: + - init: pnpm install && pnpm run build + command: pnpm run dev + + diff --git a/docker/production.yml b/docker/production.yml index f585b145ad..5a61b21109 100644 --- a/docker/production.yml +++ b/docker/production.yml @@ -91,6 +91,9 @@ services: mode: global volumes: - /var/run/docker.sock:/var/run/docker.sock + environment: + - TIME_BETWEEN_RUNS=3600 + - UNUSED_TIME=6h sematext-agent: image: sematext/agent:latest diff --git a/docker/stage.yml b/docker/stage.yml index fff63e41fb..b9e92b4997 100644 --- a/docker/stage.yml +++ b/docker/stage.yml @@ -90,6 +90,9 @@ services: image: appwrite/docker-janitor deploy: mode: global + environment: + - TIME_BETWEEN_RUNS=600 + - UNUSED_TIME=10m volumes: - /var/run/docker.sock:/var/run/docker.sock