From 1e852ec70ad59fb4dbbe8ed25277c880a4fd2998 Mon Sep 17 00:00:00 2001 From: Colin Wilk Date: Mon, 22 Jul 2024 20:56:30 +0200 Subject: [PATCH] Add example delpoyment of worker/coordinator nodes to compose Signed-off-by: Colin Wilk --- compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/compose.yml b/compose.yml index edf4aeb..c0b008a 100644 --- a/compose.yml +++ b/compose.yml @@ -21,6 +21,25 @@ services: retries: 5 start_period: 30s +# Uncomment this if you want to run Worker / Coordinator nodes +# worker: +# image: ghcr.io/ls1intum/storage-benchmarking +# command: worker -d /tmp -g GROUP +# volumes: +# - "worker_data:/tmp" +# environment: +# REDIS_HOST: redis +# REDIS_PORT: 6379 + +# coordinator: +# image: ghcr.io/ls1intum/storage-benchmarking +# command: coordinator -g GROUP1 GROUP2 -f /app/job_files/blocks.ini +# environment: +# REDIS_HOST: redis +# REDIS_PORT: 6379 + volumes: redis_data: driver: local +# worker_data: +# driver: local