Skip to content

Commit

Permalink
SIMCORE_DATCORE_ADAPTER_REPLICAS for datcore-adapter (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov authored Sep 25, 2024
1 parent e760de7 commit fde6c79
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions services/simcore/docker-compose.deploy.aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ services:
agent:
volumes:
- /docker/volumes/:/docker/volumes/


dask-sidecar:
deploy:
placement:
constraints:
- node.role == worker

efs-guardian:
volumes:
- efs_volume:/data/efs
Expand All @@ -19,6 +22,7 @@ services:
replicas: 3
static-webserver:
hostname: "{{.Node.Hostname}}-{{.Service.Name}}"

postgres:
deploy:
replicas: 0
Expand Down
3 changes: 0 additions & 3 deletions services/simcore/docker-compose.deploy.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ services:
rabbit:
deploy:
replicas: 1
datcore-adapter:
deploy:
replicas: 0
redis:
deploy:
replicas: 1
Expand Down
4 changes: 1 addition & 3 deletions services/simcore/docker-compose.deploy.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ services:
placement:
constraints:
- node.labels.postgres==true
datcore-adapter:
deploy:
replicas: 0

resource-usage-tracker:
deploy:
replicas: 3
Expand Down
1 change: 1 addition & 0 deletions services/simcore/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ services:

datcore-adapter:
deploy:
replicas: ${SIMCORE_DATCORE_ADAPTER_REPLICAS}
update_config:
parallelism: 2
order: start-first
Expand Down

0 comments on commit fde6c79

Please sign in to comment.