Skip to content

Commit

Permalink
Add example delpoyment of worker/coordinator nodes to compose
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Wilk <[email protected]>
  • Loading branch information
kliwniloc committed Jul 22, 2024
1 parent 0fda3ad commit 1e852ec
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1e852ec

Please sign in to comment.