Remove deprecated scale

This commit is contained in:
Volodymyr Babak 2022-11-30 13:14:25 +02:00
parent 334890069c
commit 01d9af24b4
2 changed files with 2 additions and 3 deletions

View File

@ -32,7 +32,7 @@ services:
image: "${DOCKER_REPO}/${JS_EXECUTOR_DOCKER_NAME}:${TB_VERSION}" image: "${DOCKER_REPO}/${JS_EXECUTOR_DOCKER_NAME}:${TB_VERSION}"
# 'deploy.replicas' configuration is not supported in docker-compose # 'deploy.replicas' configuration is not supported in docker-compose
# in case outdated docker-compose is used please update next line in docker-start-services.sh file to scale tb-js-executors: # in case outdated docker-compose is used please update next line in docker-start-services.sh file to scale tb-js-executors:
# docker-compose scale tb-js-executor=10 # docker-compose $COMPOSE_ARGS --scale tb-js-executor=10
deploy: deploy:
replicas: 10 replicas: 10
env_file: env_file:

View File

@ -40,8 +40,7 @@ case $COMPOSE_VERSION in
docker compose $COMPOSE_ARGS docker compose $COMPOSE_ARGS
;; ;;
V1) V1)
docker-compose $COMPOSE_ARGS docker-compose $COMPOSE_ARGS --scale tb-js-executor=10
docker-compose scale tb-js-executor=10
;; ;;
*) *)
# unknown option # unknown option