Fixed start of service for outdated docker-compose

This commit is contained in:
Volodymyr Babak 2022-11-30 10:44:32 +02:00
parent f7ec2f0ec0
commit 284097c88e
2 changed files with 4 additions and 3 deletions

View File

@ -14,6 +14,8 @@
# limitations under the License.
#
version: '2.2'
services:
zookeeper:
restart: always
@ -27,8 +29,7 @@ services:
tb-js-executor:
restart: always
image: "${DOCKER_REPO}/${JS_EXECUTOR_DOCKER_NAME}:${TB_VERSION}"
deploy:
replicas: 10
scale: 10
env_file:
- tb-js-executor.env
tb-core1:

View File

@ -37,7 +37,7 @@ COMPOSE_ARGS="\
case $COMPOSE_VERSION in
V2)
docker compose $COMPOSE_ARGS
docker compose $COMPOSE_ARGS --scale tb-js-executor=10
;;
V1)
docker-compose $COMPOSE_ARGS