Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ services:
girder_worker_pipelines:
# Merge base-worker object with this config
<< : *base-worker
restart: always
deploy:
resources:
reservations:
Expand All @@ -116,10 +117,17 @@ services:
- "WORKER_CONCURRENCY=${PIPELINE_WORKER_CONCURRENCY:-1}"
- "WORKER_GPU_UUID=${PIPELINE_GPU_UUID}"
- "CELERY_BROKER_URL=${CELERY_BROKER_URL:-amqp://guest:guest@rabbit/default}"
healthcheck:
test: ["CMD", "nvidia-smi"]
interval: 15m
timeout: 10s
retries: 1
start_period: 1m

girder_worker_training:
# Merge base-worker object with this config
<< : *base-worker
restart: always
deploy:
resources:
reservations:
Expand All @@ -132,6 +140,12 @@ services:
- "WORKER_CONCURRENCY=${TRAINING_WORKER_CONCURRENCY:-1}"
- "WORKER_GPU_UUID=${TRAINING_GPU_UUID}"
- "CELERY_BROKER_URL=${CELERY_BROKER_URL:-amqp://guest:guest@rabbit/default}"
healthcheck:
test: ["CMD", "nvidia-smi"]
interval: 15m
timeout: 10s
retries: 1
start_period: 1m

volumes:
addons:
Expand Down
Loading