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: |
| 12 | pmsh-network: |
| 13 | |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 14 | aai: |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 15 | container_name: aai-sim |
| 16 | image: mockserver/mockserver:mockserver-5.9.0 |
| 17 | environment: |
| 18 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 19 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/aai-initializer.json |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 20 | LOG_LEVEL: "DEBUG" |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 21 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 22 | - ./assets/aai_sim/aai_mockserver.properties:/config/mockserver.properties |
| 23 | - ./assets/aai_sim/aai-initializer.json:/config/aai-initializer.json |
efiacor | 49b4644 | 2020-07-06 11:55:44 +0100 | [diff] [blame] | 24 | - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem |
| 25 | - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 26 | networks: |
| 27 | pmsh-network: |
| 28 | |
| 29 | cbs-sim: |
| 30 | container_name: cbs-sim |
| 31 | image: mockserver/mockserver:mockserver-5.9.0 |
| 32 | environment: |
| 33 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 34 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/cbs-initializer.json |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 35 | LOG_LEVEL: "DEBUG" |
| 36 | SERVER_PORT: 10443 |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 37 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 38 | - ./assets/cbs_sim/cbs_mockserver.properties:/config/mockserver.properties |
| 39 | - ./assets/cbs_sim/cbs-initializer.json:/config/cbs-initializer.json |
| 40 | - ./assets/ssl_certs/mock_server_cacert.pem:/var/tmp/mock_server_cacert.pem |
| 41 | - ./assets/ssl_certs/mock_server_key.pem:/var/tmp/mock_server_key.pem |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 42 | networks: |
| 43 | pmsh-network: |
| 44 | |
| 45 | mr-sim: |
| 46 | container_name: mr-sim |
| 47 | image: mockserver/mockserver:mockserver-5.9.0 |
| 48 | environment: |
| 49 | MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties |
| 50 | MOCKSERVER_INITIALIZATION_JSON_PATH: /config/mr-initializer.json |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 51 | LOG_LEVEL: "DEBUG" |
| 52 | SERVER_PORT: 3095 |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 53 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 54 | - ./assets/mr_sim/mr_mockserver.properties:/config/mockserver.properties |
| 55 | - ./assets/mr_sim/mr-initializer.json:/config/mr-initializer.json |
AndyWalshe | 48496a5 | 2020-03-12 12:52:19 +0000 | [diff] [blame] | 56 | networks: |
| 57 | pmsh-network: |
| 58 | |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 59 | pmsh: |
| 60 | container_name: pmsh |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 61 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.pmsh:latest |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 62 | depends_on: |
| 63 | - db |
| 64 | volumes: |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 65 | - ./assets/ssl_certs/cert.pem:/opt/app/pmsh/etc/certs/cert.pem |
| 66 | - ./assets/ssl_certs/key.pem:/opt/app/pmsh/etc/certs/key.pem |
| 67 | - ./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] | 68 | environment: |
| 69 | HOSTNAME: "dcae-pmsh" |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 70 | CONFIG_BINDING_SERVICE: cbs-sim |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 71 | PMSH_PG_URL: db |
| 72 | PMSH_PG_USERNAME: $DB_USER |
| 73 | PMSH_PG_PASSWORD: $DB_PASSWORD |
efiacor | e207b42 | 2020-04-23 10:36:54 +0100 | [diff] [blame] | 74 | AAI_SERVICE_PORT: 1080 |
| 75 | DCAE_CA_CERTPATH: '/opt/app/pmsh/etc/certs/cacert.pem' |
AndyWalshe | b412c7b | 2020-02-13 15:05:21 +0000 | [diff] [blame] | 76 | networks: |
| 77 | pmsh-network: |
| 78 | |
| 79 | networks: |
| 80 | pmsh-network: |
| 81 | driver: bridge |