version: '2' services: aai-resources.api.simpledemo.openecomp.org: image: ${DOCKER_REGISTRY}/openecomp/aai-resources hostname: aai-resources.api.simpledemo.openecomp.org environment: - AAI_CHEF_ENV=simpledemo - AAI_CHEF_LOC=/var/chef/aai-data/environments - CHEF_BRANCH=master - CHEF_GIT_URL=http://gerrit.onap.org/r/aai - AAI_CORE_VERSION=1.1.0-SNAPSHOT ports: - 8447:8447 volumes: - ${RESOURCES_LOGS}:/opt/aai/logroot/AAI-RES logging: driver: "json-file" options: max-size: "30m" max-file: "5" aai-traversal.api.simpledemo.openecomp.org: image: ${DOCKER_REGISTRY}/openecomp/aai-traversal hostname: aai-traversal.api.simpledemo.openecomp.org environment: - AAI_CHEF_ENV=simpledemo - AAI_CHEF_LOC=/var/chef/aai-data/environments - CHEF_BRANCH=master - CHEF_GIT_URL=http://gerrit.onap.org/r/aai - AAI_CORE_VERSION=1.1.0-SNAPSHOT volumes: - ${TRAVERSAL_LOGS}:/opt/aai/logroot/AAI-GQ ports: - 8446:8446 logging: driver: "json-file" options: max-size: "30m" max-file: "5" aai.api.simpledemo.openecomp.org: image: ${AAI_HAPROXY_IMAGE} hostname: aai.api.simpledemo.openecomp.org ports: - 8443:8443 links: - aai-resources.api.simpledemo.openecomp.org - aai-traversal.api.simpledemo.openecomp.org volumes: - /dev/log:/dev/log logging: driver: "json-file" options: max-size: "30m" max-file: "5" networks: default: driver: bridge driver_opts: com.docker.network.driver.mtu: ${MTU}