diff options
author | Vikas Varma <vv8305@att.com> | 2019-04-05 17:04:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-05 17:04:02 +0000 |
commit | c98cf7f69ff8a7765766a6ca569c874ae075fdea (patch) | |
tree | f077f33c03aa489e04707b54b7e4ac6154eb979a /cmso-robot/docker/cmso-service/docker-compose.yml | |
parent | e8f3843950f26bfdf74fa2d0ca0f2019a1586eb2 (diff) | |
parent | 26b84388ba3eb179f9d4a9d4e2d478eba3df8201 (diff) |
Merge "Integrate new mS into IT"
Diffstat (limited to 'cmso-robot/docker/cmso-service/docker-compose.yml')
-rw-r--r-- | cmso-robot/docker/cmso-service/docker-compose.yml | 69 |
1 files changed, 61 insertions, 8 deletions
diff --git a/cmso-robot/docker/cmso-service/docker-compose.yml b/cmso-robot/docker/cmso-service/docker-compose.yml index 44f7c27..5c2f173 100644 --- a/cmso-robot/docker/cmso-service/docker-compose.yml +++ b/cmso-robot/docker/cmso-service/docker-compose.yml @@ -11,39 +11,92 @@ services: ports: - "8806:3306" - db-init: + db-init-svc: image: onap/optf-cmso-dbinit volumes: - - "../etc:/share/etc:rw" - - "../logs:/share/logs:rw" + - "./cmso-service/etc:/share/etc:rw" + - "./cmso-service/logs:/share/logs:rw" depends_on: - mariadb environment: - DB_HOST=mariadb entrypoint: "bash -x /share/etc/startDbinitService.sh" + db-init-opt: + image: onap/optf-cmso-dbinit + volumes: + - "./cmso-optimizer/etc:/share/etc:rw" + - "./cmso-optimizer/logs:/share/logs:rw" + depends_on: + - mariadb + environment: + - DB_HOST=mariadb + entrypoint: "bash -x /share/etc/startDbinitService.sh" + + cmso-service: image: onap/optf-cmso-service volumes: - - "../etc:/share/etc:rw" - - "../logs:/share/logs:rw" - - "../debug-logs:/share/debug-logs:rw" + - "./cmso-service/etc:/share/etc:rw" + - "./cmso-service/logs:/share/logs:rw" + - "./cmso-service/debug-logs:/share/debug-logs:rw" depends_on: - - db-init + - db-init-svc entrypoint: "bash -x /share/etc/startJacocoService.sh" ports: - "8080:8080" environment: - DB_HOST=mariadb + - OPTIMIZER_URL=http://cmso-optimizer:7997/optimizer/v1/optimize/schedule + - OPTIMIZER_HEALTH_URL=http://cmso-optimizer:7997/optimizer/v1/health?checkInterfaces=true + + cmso-ticketmgt: + image: onap/optf-cmso-ticketmgt + volumes: + - "./cmso-ticketmgt/etc:/share/etc:rw" + - "./cmso-ticketmgt/logs:/share/logs:rw" + - "./cmso-ticketmgt/debug-logs:/share/debug-logs:rw" + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7999:7999" + + cmso-topology: + image: onap/optf-cmso-topology + volumes: + - "./cmso-topology/etc:/share/etc:rw" + - "./cmso-topology/logs:/share/logs:rw" + - "./cmso-topology/debug-logs:/share/debug-logs:rw" + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7998:7998" + + cmso-optimizer: + image: onap/optf-cmso-optimizer + volumes: + - "./cmso-optimizer/etc:/share/etc:rw" + - "./cmso-optimizer/logs:/share/logs:rw" + - "./cmso-optimizer/debug-logs:/share/debug-logs:rw" + depends_on: + - db-init-opt + entrypoint: "bash -x /share/etc/startJacocoService.sh" + ports: + - "7997:7997" + environment: + - DB_HOST=mariadb + - TOPOLOGY_HOST=cmso-topology + - TICKETMGT_HOST=cmso-ticketmgt + cmso-robot: image: onap/optf-cmso-robot volumes: - - "../logs:/share:rw" + - "./cmso-robot/logs:/share:rw" depends_on: - cmso-service environment: - GLOBAL_SCHEDULER_URL=http://cmso-service:8080 + - GLOBAL_OPTIMIZER_URL=http://cmso-optimizer:7997 + - CMSO_STARTUP_WAIT_TIME=600s - TAGS=-i ete - OUTPUT=-d /share working_dir: /opt/cmso-robot |