Loading .gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -165,8 +165,9 @@ deploy-pro: - create-nets.sh elastic-net - > deploy.sh IMAGE_NAME=${IMAGE_NAME} IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} OLD_ELASTIC_ADMIN_PASS=${OLD_ELASTIC_ADMIN_PASS} ELASTIC_ADMIN_PASS=${ELASTIC_ADMIN_PASS} ELASTIC_USER=${ELASTIC_USER} ELASTIC_USER_PASS=${ELASTIC_USER_PASS} ELASTIC_USER_ROLE=${ELASTIC_USER_ROLE} AWS_REGION=${AWS_REGION} OLD_ELASTIC_ADMIN_PASS=${OLD_ELASTIC_ADMIN_PASS} ELASTIC_ADMIN_PASS=${ELASTIC_ADMIN_PASS} ELASTIC_USER=${ELASTIC_USER} ELASTIC_USER_PASS=${ELASTIC_USER_PASS} ELASTIC_USER_ROLE=${ELASTIC_USER_ROLE} environment: name: pro only: Loading docker-compose.prod.yml +9 −6 Original line number Diff line number Diff line Loading @@ -13,10 +13,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m elasticsearch-2: environment: Loading @@ -30,10 +31,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m elasticsearch-3: environment: Loading @@ -47,10 +49,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m volumes: elasticsearch-1-vol: Loading Loading
.gitlab-ci.yml +3 −2 Original line number Diff line number Diff line Loading @@ -165,8 +165,9 @@ deploy-pro: - create-nets.sh elastic-net - > deploy.sh IMAGE_NAME=${IMAGE_NAME} IMAGE_TAG=${IMAGE_TAG} COMPOSE_FILE=${COMPOSE_FILE} OLD_ELASTIC_ADMIN_PASS=${OLD_ELASTIC_ADMIN_PASS} ELASTIC_ADMIN_PASS=${ELASTIC_ADMIN_PASS} ELASTIC_USER=${ELASTIC_USER} ELASTIC_USER_PASS=${ELASTIC_USER_PASS} ELASTIC_USER_ROLE=${ELASTIC_USER_ROLE} AWS_REGION=${AWS_REGION} OLD_ELASTIC_ADMIN_PASS=${OLD_ELASTIC_ADMIN_PASS} ELASTIC_ADMIN_PASS=${ELASTIC_ADMIN_PASS} ELASTIC_USER=${ELASTIC_USER} ELASTIC_USER_PASS=${ELASTIC_USER_PASS} ELASTIC_USER_ROLE=${ELASTIC_USER_ROLE} environment: name: pro only: Loading
docker-compose.prod.yml +9 −6 Original line number Diff line number Diff line Loading @@ -13,10 +13,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 1 - engine.labels.availability_zone == ${AWS_REGION}a restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m elasticsearch-2: environment: Loading @@ -30,10 +31,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 2 - engine.labels.availability_zone == ${AWS_REGION}b restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m elasticsearch-3: environment: Loading @@ -47,10 +49,11 @@ services: placement: constraints: - node.role == worker - node.labels.workerid == 3 - engine.labels.availability_zone == ${AWS_REGION}c restart_policy: condition: on-failure max_attempts: 3 delay: 1m window: 3m volumes: elasticsearch-1-vol: Loading