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.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
version: '2.2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
zookeeper:
|
zookeeper:
|
||||||
restart: always
|
restart: always
|
||||||
@ -27,8 +29,7 @@ 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:
|
scale: 10
|
||||||
replicas: 10
|
|
||||||
env_file:
|
env_file:
|
||||||
- tb-js-executor.env
|
- tb-js-executor.env
|
||||||
tb-core1:
|
tb-core1:
|
||||||
|
|||||||
@ -37,7 +37,7 @@ COMPOSE_ARGS="\
|
|||||||
|
|
||||||
case $COMPOSE_VERSION in
|
case $COMPOSE_VERSION in
|
||||||
V2)
|
V2)
|
||||||
docker compose $COMPOSE_ARGS
|
docker compose $COMPOSE_ARGS --scale tb-js-executor=10
|
||||||
;;
|
;;
|
||||||
V1)
|
V1)
|
||||||
docker-compose $COMPOSE_ARGS
|
docker-compose $COMPOSE_ARGS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user