Docker-compose - remove scale and add compatibility mode for docker-compose standalone
This commit is contained in:
parent
01d9af24b4
commit
f959da7f52
@ -30,9 +30,6 @@ services:
|
|||||||
tb-js-executor:
|
tb-js-executor:
|
||||||
restart: always
|
restart: always
|
||||||
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
|
|
||||||
# in case outdated docker-compose is used please update next line in docker-start-services.sh file to scale tb-js-executors:
|
|
||||||
# docker-compose $COMPOSE_ARGS --scale tb-js-executor=10
|
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 10
|
replicas: 10
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
@ -40,7 +40,7 @@ case $COMPOSE_VERSION in
|
|||||||
docker compose $COMPOSE_ARGS
|
docker compose $COMPOSE_ARGS
|
||||||
;;
|
;;
|
||||||
V1)
|
V1)
|
||||||
docker-compose $COMPOSE_ARGS --scale tb-js-executor=10
|
docker-compose --compatibility $COMPOSE_ARGS
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# unknown option
|
# unknown option
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user