version: '3.2' # ===============LICENSE_START======================================================= # Acumos Apache-2.0 # =================================================================================== # Copyright (C) 2017-2018 AT&T Intellectual Property & Tech Mahindra. All rights reserved. # =================================================================================== # This Acumos software file is distributed by AT&T and Tech Mahindra # under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # This file is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ===============LICENSE_END========================================================= # docker-compose for Acumos component deployment-client-service # services: deployment-client-service: image: ${DEPLOYMENT_CLIENT_IMAGE} environment: SPRING_APPLICATION_JSON: '{ "logging": { "level": { "root": "INFO" } }, "server": { "port": 8337 }, "siteConfig": "[ { \"name\": \"cluster1\" } ]", "jenkins": { "url": "${ACUMOS_JENKINS_API_URL}", "user": "${ACUMOS_JENKINS_USER}", "password": "${ACUMOS_JENKINS_PASSWORD}", "job": { "simple": "${ACUMOS_JENKINS_SIMPLE_SOLUTION_DEPLOY_JOB}", "composite": "${ACUMOS_JENKINS_COMPOSITE_SOLUTION_DEPLOY_JOB}", "nifi": "${ACUMOS_JENKINS_NIFI_DEPLOY_JOB}" } }, "api": { "baseUrl": "https://${ACUMOS_DOMAIN}/deployment/" }, "kube" : { "incrementPort": "8557", "singleModelPort": "8556", "folderPath": "/maven/home", "singleNodePort": "30333", "singleTargetPort": "3330", "dataBrokerModelPort": "8556", "dataBrokerNodePort": "30556", "dataBrokerTargetPort": "8556", "mlTargetPort": "3330", "nginxImageName": "nginx", "nexusEndPointURL": "http://localhost:80" }, "dockerRegistry": { "url": "https://${ACUMOS_DOCKER_PROXY_HOST}:${ACUMOS_DOCKER_PROXY_PORT}/", "username": "${ACUMOS_DOCKER_PROXY_USERNAME}", "password": "${ACUMOS_DOCKER_PROXY_PASSWORD}" }, "blueprint": { "ImageName": "${BLUEPRINT_ORCHESTRATOR_IMAGE}", "name": "blueprint-orchestrator", "port": "8555", "nodePort": "30555" }, "nexus": { "url": "http://${ACUMOS_NEXUS_HOST}:${ACUMOS_NEXUS_API_PORT}/${ACUMOS_NEXUS_MAVEN_REPO_PATH}/${ACUMOS_NEXUS_MAVEN_REPO}/", "password": "${ACUMOS_NEXUS_RW_USER_PASSWORD}", "username": "${ACUMOS_NEXUS_RW_USER}", "groupid": "${ACUMOS_NEXUS_GROUP}" }, "cmndatasvc": { "cmndatasvcendpointurl": "http://${ACUMOS_CDS_HOST}:${ACUMOS_CDS_PORT}/ccds", "cmndatasvcuser": "${ACUMOS_CDS_USER}", "cmndatasvcpwd": "${ACUMOS_CDS_PASSWORD}" }, "logstash": { "host": "${ACUMOS_ELK_HOST}", "ip": "${ACUMOS_ELK_HOST_IP}", "port": "${ACUMOS_ELK_LOGSTASH_PORT}" } }' expose: - 8337 volumes: - type: bind source: /mnt/${ACUMOS_NAMESPACE}/logs target: /maven/logs logging: driver: json-file extra_hosts: - "${ACUMOS_HOST}:${ACUMOS_HOST_IP}" restart: on-failure