diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 989a0dd7..de67f76d 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -51,7 +51,7 @@ services: " deploy: <<: *deploy - replicas: 3 + replicas: ${WEB_REPLICAS:-3} default_worker: <<: *default-app @@ -72,6 +72,7 @@ services: " deploy: <<: *deploy + replicas: ${DICOM_WORKER_REPLICAS:-3} receiver: <<: *default-app diff --git a/example.env b/example.env index d0c8e049..fca78ea3 100644 --- a/example.env +++ b/example.env @@ -80,6 +80,10 @@ CALLING_AE_TITLE="ADIT1DEV" # The AE title where the receiver is listening for incoming files. RECEIVER_AE_TITLE="ADIT1DEV" +# Replicas of the services that can be scaled (production only). +WEB_REPLICAS=5 +DICOM_WORKER_REPLICAS=3 + # The directory where download folders are mounted. MOUNT_DIR="/mnt"