AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 1 | version: '3.3' |
| 2 | |
| 3 | services: |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 4 | db: |
| 5 | container_name: db |
| 6 | image: postgres |
| 7 | restart: always |
| 8 | environment: |
| 9 | POSTGRES_PASSWORD: $DB_PASSWORD |
| 10 | POSTGRES_USER: $DB_USER |
| 11 | networks: |
efiacor | 830e11d | 2021-01-29 14:28:34 +0000 | [diff] [blame^] | 12 | dockercompose_net: |
| 13 | aliases: |
| 14 | - db |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 15 | |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 16 | aai: |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 17 | container_name: aai-sim |
| 18 | image: mockserver/mockserver:mockserver-5.9.0 |
| 19 | environment: |
| 20 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 21 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/aai-initializer.json |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 22 | LOG_LEVEL: "DEBUG" |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 23 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 24 | - ./assets/aai_sim/aai_mockserver.properties:/config/mockserver.properties |
| 25 | - ./assets/aai_sim/aai-initializer.json:/config/aai-initializer.json |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 26 | - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem |
| 27 | - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 28 | networks: |
efiacor | 830e11d | 2021-01-29 14:28:34 +0000 | [diff] [blame^] | 29 | dockercompose_net: |
| 30 | aliases: |
| 31 | - aai-sim |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 32 | |
| 33 | cbs-sim: |
| 34 | container_name: cbs-sim |
| 35 | image: mockserver/mockserver:mockserver-5.9.0 |
| 36 | environment: |
| 37 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 38 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 39 | LOG_LEVEL: "DEBUG" |
| 40 | SERVER_PORT: 10443 |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 41 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 42 | - ./assets/cbs_sim/cbs_mockserver.properties:/config/mockserver.properties |
| 43 | - ./assets/cbs_sim/cbs-initializer.json:/config/cbs-initializer.json |
| 44 | - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem |
| 45 | - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 46 | networks: |
efiacor | 830e11d | 2021-01-29 14:28:34 +0000 | [diff] [blame^] | 47 | dockercompose_net: |
| 48 | aliases: |
| 49 | - cbs-sim |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 50 | |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 51 | pmsh: |
| 52 | container_name: pmsh |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 53 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 54 | depends_on: |
| 55 | - db |
| 56 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 57 | - ./assets/ssl_certs/cert.pem:/opt/app/pmsh/etc/certs/cert.pem |
| 58 | - ./assets/ssl_certs/key.pem:/opt/app/pmsh/etc/certs/key.pem |
| 59 | - ./assets/ssl_certs/mock_server_cacert.pem:/opt/app/pmsh/etc/certs/cacert.pem |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 60 | environment: |
| 61 | HOSTNAME: "dcae-pmsh" |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 62 | CONFIG_BINDING_SERVICE: cbs-sim |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 63 | PMSH_PG_URL: db |
| 64 | PMSH_PG_USERNAME: $DB_USER |
| 65 | PMSH_PG_PASSWORD: $DB_PASSWORD |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 66 | AAI_SERVICE_PORT: 1080 |
| 67 | DCAE_CA_CERTPATH: '/opt/app/pmsh/etc/certs/cacert.pem' |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 68 | networks: |
efiacor | 830e11d | 2021-01-29 14:28:34 +0000 | [diff] [blame^] | 69 | dockercompose_net: |
| 70 | aliases: |
| 71 | - pmsh |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 72 | |
| 73 | networks: |
efiacor | 830e11d | 2021-01-29 14:28:34 +0000 | [diff] [blame^] | 74 | dockercompose_net: |
| 75 | external: true |
| 76 | |