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..886c5d4fb8 100644 --- a/docker/stage.yml +++ b/docker/stage.yml @@ -90,6 +90,10 @@ services: image: appwrite/docker-janitor deploy: mode: global + environment: + - TIME_BETWEEN_RUNS=600 + - UNUSED_TIME=10m + - RUN_ON_STARTUP=true volumes: - /var/run/docker.sock:/var/run/docker.sock