diff options
author | Aaron Hay <ah415j@att.com> | 2018-10-04 09:24:45 +0000 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2018-10-05 18:02:38 +0000 |
commit | b281f5234e861ec624c5edeb692465d9d7373729 (patch) | |
tree | e043f0180d8db692d4bd634c31eb5968f6ffc614 /docker-compose/docker-compose.yml | |
parent | aaf3aae5b2b307dc2cadd1248742c618e59e89df (diff) |
Add ansible docker support
Change-Id: I782e0f3b4c13d7acf1b3ae320f603866ac6d8966
Issue-ID: APPC-1168
Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'docker-compose/docker-compose.yml')
-rw-r--r-- | docker-compose/docker-compose.yml | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index aa737bb..dfceb9f 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -40,6 +40,25 @@ services: max-size: "30m" max-file: "5" + ansible: + image: onap/sdnc-ansible-server-image:latest + depends_on : + - db + container_name: appc_ansible_container + entrypoint: ["/opt/onap/ccsdk/startAnsibleServer.sh"] + ports: + - "8000" + links: + - db:dbhost + environment: + - MYSQL_ROOT_PASSWORD=openECOMP1.0 + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" + + # Tweaking SDNC_CONFIG_DIR temporarily from ../sdnc/.. to ../appc/.. since it may be needed in this script # to map to SDN-C AAI Service Bundle's AAI Activator class inside the gerrit sdnc/adaptors repo, so that # the AAI Service bundle loads APP-C's aaiclient.properties instead of SDN-C's aaiclient.properties. @@ -47,6 +66,7 @@ services: image: "onap/appc-image:latest" depends_on : - db + - ansible container_name: appc_controller_container entrypoint: ["/opt/onap/appc/bin/startODL.sh"] ports: @@ -56,8 +76,7 @@ services: - "30290:9191" links: - db:dbhost - - db:sdnctldb01 - - db:sdnctldb02 + - ansible:ansiblehost environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/onap/appc/data/properties @@ -83,8 +102,6 @@ services: - "3000:3100" links: - db:dbhost - - db:sdnctldb01 - - db:sdnctldb02 - appc:sdnhost environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 |