From 61b8376ced17e0731b4366a3dc9dee917867bfdd Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 15 Apr 2021 21:13:08 +0300 Subject: [PATCH] fix: Add missing snuba transactions clean up service Follow up to #920 and #923. --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 71fd01c2789..33f39a6d81e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -173,6 +173,14 @@ services: args: BASE_IMAGE: "$SNUBA_IMAGE" command: '"*/5 * * * * gosu snuba snuba cleanup --storage errors --dry-run False"' + snuba-transactions-cleanup: + <<: *snuba_defaults + image: snuba-cleanup-onpremise-local + build: + context: ./cron + args: + BASE_IMAGE: "$SNUBA_IMAGE" + command: '"*/5 * * * * gosu snuba snuba cleanup --storage transactions --dry-run False"' symbolicator: <<: *restart_policy image: "$SYMBOLICATOR_IMAGE"