Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 1 | version: '2.1' |
| 2 | services: |
| 3 | |
| 4 | inventory: |
| 5 | image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.inventory-api:{{ dcae_docker_inv }}" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 6 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 7 | container_name: "inventory" |
| 8 | hostname: "inventory" |
| 9 | environment: |
| 10 | - "POSTGRES_USER=inventory" |
| 11 | - "POSTGRES_PASSWORD=inventorypwd" |
| 12 | ports: |
| 13 | - "8080:8080" |
| 14 | labels: |
| 15 | - "SERVICE_8080_NAME=inventory" |
| 16 | - "SERVICE_8080_CHECK_HTTP=/dcae-service-types" |
| 17 | - "SERVICE_8080_CHECK_INTERVAL=15s" |
| 18 | - "SERVICE_8080_CHECK_INITIAL_STATUS=passing" |
Vijay Venkatesh Kumar | 69aedf8 | 2018-09-27 10:17:21 -0400 | [diff] [blame] | 19 | volumes: |
| 20 | - "./tls/shared:/opt/tls/shared" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 21 | |
| 22 | |
| 23 | service-change-handler: |
| 24 | image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.servicechange-handler:{{ dcae_docker_sch }}" |
| 25 | container_name: "service-change-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 26 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 27 | hostname: "service-change-handler" |
| 28 | ports: |
| 29 | - "8079:8079" |
| 30 | environment: |
| 31 | - "POSTGRES_USER=inventory" |
| 32 | - "POSTGRES_PASSWORD=inventorypwd" |
| 33 | labels: |
| 34 | - "SERVICE_NAME=service_change_handler" |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 35 | - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/health.sh" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 36 | - "SERVICE_CHECK_INTERVAL=15s" |
| 37 | - "SERVICE_CHECK_INITIAL_STATUS=passing" |
Vijay Venkatesh Kumar | 69aedf8 | 2018-09-27 10:17:21 -0400 | [diff] [blame] | 38 | volumes: |
| 39 | - "./tls/shared:/opt/tls/shared" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 40 | |
| 41 | |
| 42 | deployment_handler: |
| 43 | image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.deployment-handler:{{ dcae_docker_dh }}" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 44 | container_name: "deployment-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 45 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 46 | hostname: "deployment-handler" |
| 47 | environment: |
| 48 | - "CLOUDIFY_PASSWORD=admin" |
| 49 | - "CLOUDIFY_USER=admin" |
| 50 | ports: |
| 51 | - "8188:8443" |
Vijay Venkatesh Kumar | 69aedf8 | 2018-09-27 10:17:21 -0400 | [diff] [blame] | 52 | volumes: |
| 53 | - "./tls/shared:/opt/app/dh/etc/cert/" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 54 | |
| 55 | |
| 56 | policy_handler: |
| 57 | image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.policy-handler:{{ dcae_docker_ph }}" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 58 | container_name: "policy-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 59 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 60 | hostname: "policy-handler" |
| 61 | ports: |
| 62 | - "25577:25577" |
| 63 | labels: |
| 64 | - "SERVICE_25577_NAME=policy_handler" |
| 65 | - "SERVICE_25577_CHECK_HTTP=/healthcheck" |
| 66 | - "SERVICE_25577_CHECK_INTERVAL=15s" |
| 67 | - "SERVICE_25577_CHECK_INITIAL_STATUS=passing" |
Vijay Venkatesh Kumar | 69aedf8 | 2018-09-27 10:17:21 -0400 | [diff] [blame] | 68 | volumes: |
| 69 | - "./tls/shared:/opt/app/policy_handler/etc/tls/certs/" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 70 | |