Improve docker-compose config

This commit is contained in:
Igor Kulikov 2018-10-09 20:36:39 +03:00
parent 446f4a9501
commit 563d27c979
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
# #
version: '2' version: '2.2'
services: services:
zookeeper: zookeeper:
@ -41,6 +41,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}"
scale: 20
environment: environment:
TB_KAFKA_SERVERS: kafka:9092 TB_KAFKA_SERVERS: kafka:9092
env_file: env_file:

View File

@ -17,4 +17,4 @@
./check-dirs.sh ./check-dirs.sh
docker-compose up -d --scale tb-js-executor=20 docker-compose up -d