diff options
Diffstat (limited to 'installation/src/main/yaml/docker-compose.yml')
-rw-r--r-- | installation/src/main/yaml/docker-compose.yml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml index 2a39f216..f2cc5a2d 100644 --- a/installation/src/main/yaml/docker-compose.yml +++ b/installation/src/main/yaml/docker-compose.yml @@ -22,11 +22,31 @@ services: max-size: "30m" max-file: "5" + ansible: + image: onap/sdnc-ansible-server-image:latest + depends_on : + - db + container_name: sdnc_ansible_container + entrypoint: ["/opt/onap/sdnc/startAnsibleServer.sh"] + ports: + - "8000" + links: + - db:dbhost + - db:sdnctldb01 + - db:sdnctldb02 + environment: + - MYSQL_ROOT_PASSWORD=openECOMP1.0 + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" sdnc: image: onap/sdnc-image:latest depends_on : - db + - ansible container_name: sdnc_controller_container entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] ports: @@ -35,11 +55,10 @@ services: - db:dbhost - db:sdnctldb01 - db:sdnctldb02 + - ansible:ansiblehost environment: - MYSQL_ROOT_PASSWORD=openECOMP1.0 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties - dns: - - ${DNS_IP_ADDR-10.0.100.1} logging: driver: "json-file" options: |