Skip to content

Commit fbd8b5b

Browse files
committed
Scale strelka backends to 2 by default (#117)
1 parent 4fd9d1d commit fbd8b5b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ services:
4545
volumes:
4646
- ./configs/frontend/:/etc/strelka/:ro
4747
- logs:/var/log/strelka/
48-
container_name: sublime_strelka_frontend_1
4948
depends_on:
5049
- sublime_strelka_coordinator
50+
deploy:
51+
replicas: 1
5152
sublime_strelka_backend:
5253
image: sublimesec/strelka-backend:0.3
5354
restart: unless-stopped
@@ -57,9 +58,10 @@ services:
5758
- net
5859
volumes:
5960
- ./configs/backend/:/etc/strelka/:ro
60-
container_name: sublime_strelka_backend_1
6161
depends_on:
6262
- sublime_strelka_coordinator
63+
deploy:
64+
replicas: 2
6365
sublime_strelka_manager:
6466
image: sublimesec/strelka-manager:0.3
6567
restart: unless-stopped

0 commit comments

Comments
 (0)