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" |
| 19 | |
| 20 | |
| 21 | service-change-handler: |
| 22 | image: "{{ nexus_docker_repo }}/onap/org.onap.dcaegen2.platform.servicechange-handler:{{ dcae_docker_sch }}" |
| 23 | container_name: "service-change-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 24 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 25 | hostname: "service-change-handler" |
| 26 | ports: |
| 27 | - "8079:8079" |
| 28 | environment: |
| 29 | - "POSTGRES_USER=inventory" |
| 30 | - "POSTGRES_PASSWORD=inventorypwd" |
| 31 | labels: |
| 32 | - "SERVICE_NAME=service_change_handler" |
Lusheng Ji | bd838e7 | 2018-04-16 21:27:17 -0400 | [diff] [blame] | 33 | - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/health.sh" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 34 | - "SERVICE_CHECK_INTERVAL=15s" |
| 35 | - "SERVICE_CHECK_INITIAL_STATUS=passing" |
| 36 | |
| 37 | |
| 38 | deployment_handler: |
| 39 | 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] | 40 | container_name: "deployment-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 41 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 42 | hostname: "deployment-handler" |
| 43 | environment: |
| 44 | - "CLOUDIFY_PASSWORD=admin" |
| 45 | - "CLOUDIFY_USER=admin" |
| 46 | ports: |
| 47 | - "8188:8443" |
| 48 | labels: |
| 49 | - "SERVICE_8443_NAME=deployment_handler" |
| 50 | - "SERVICE_8443_CHECK_HTTP=/" |
| 51 | - "SERVICE_8443_CHECK_INTERVAL=15s" |
| 52 | - "SERVICE_8443_CHECK_INITIAL_STATUS=passing" |
| 53 | |
| 54 | |
| 55 | policy_handler: |
| 56 | 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] | 57 | container_name: "policy-handler" |
Lusheng Ji | cb9d614 | 2018-05-08 09:38:02 -0400 | [diff] [blame] | 58 | restart: "always" |
Lusheng Ji | 819aa7f | 2018-04-16 02:24:39 -0400 | [diff] [blame] | 59 | hostname: "policy-handler" |
| 60 | ports: |
| 61 | - "25577:25577" |
| 62 | labels: |
| 63 | - "SERVICE_25577_NAME=policy_handler" |
| 64 | - "SERVICE_25577_CHECK_HTTP=/healthcheck" |
| 65 | - "SERVICE_25577_CHECK_INTERVAL=15s" |
| 66 | - "SERVICE_25577_CHECK_INITIAL_STATUS=passing" |
| 67 | |