Fixed start of service for outdated docker-compose
This commit is contained in:
parent
f7ec2f0ec0
commit
284097c88e
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user