ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 1 | # Copyright (C) 2020 Nordix Foundation. All rights reserved. |
| 2 | # ======================================================================== |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # ============LICENSE_END================================================= |
| 15 | # |
ecaiyanlinux | 4b0a0a2 | 2020-08-17 13:29:16 +0200 | [diff] [blame] | 16 | version: '3.5' |
| 17 | |
| 18 | networks: |
| 19 | default: |
| 20 | driver: bridge |
| 21 | name: nonrtric-docker-net |
| 22 | |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 23 | services: |
| 24 | policy-agent: |
elinuxhenrik | 1fe0985 | 2020-07-27 13:06:03 +0200 | [diff] [blame] | 25 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:2.1.0 |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 26 | container_name: policy-agent |
| 27 | networks: |
| 28 | default: |
| 29 | aliases: |
| 30 | - policy-agent-container |
| 31 | ports: |
| 32 | - 8081:8081 |
| 33 | - 8433:8433 |
| 34 | volumes: |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 35 | - ./config/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json:ro |
| 36 | # For using own certs instead of the default ones (built into the container), |
| 37 | # place them in config/ directory, update the application-policyagent.yaml file, and uncomment the following lines |
| 38 | # - ./config/keystore-policyagent.jks:/opt/app/policy-agent/etc/cert/keystore.jks:ro |
| 39 | # - ./config/truststore-policyagent.jks:/opt/app/policy-agent/etc/cert/truststore.jks:ro |
| 40 | # - ./config/application-policyagent.yaml:/opt/app/policy-agent/config/application.yaml:ro |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 41 | |
| 42 | a1-sim-OSC: |
ecaiyanlinux | 236f118 | 2020-06-04 13:42:08 +0200 | [diff] [blame] | 43 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0 |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 44 | container_name: a1-sim-OSC |
| 45 | networks: |
| 46 | - default |
| 47 | ports: |
| 48 | - 30001:8085 |
| 49 | - 30002:8185 |
| 50 | environment: |
| 51 | - A1_VERSION=OSC_2.1.0 |
| 52 | - REMOTE_HOSTS_LOGGING=1 |
| 53 | - ALLOW_HTTP=true |
| 54 | |
| 55 | a1-sim-STD: |
ecaiyanlinux | 236f118 | 2020-06-04 13:42:08 +0200 | [diff] [blame] | 56 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:2.0.0 |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 57 | container_name: a1-sim-STD |
| 58 | networks: |
| 59 | - default |
| 60 | ports: |
| 61 | - 30003:8085 |
| 62 | - 30004:8185 |
| 63 | environment: |
| 64 | - A1_VERSION=STD_1.1.3 |
| 65 | - REMOTE_HOSTS_LOGGING=1 |
| 66 | - ALLOW_HTTP=true |
| 67 | |
| 68 | policy-control-panel: |
ecaiyanlinux | 236f118 | 2020-06-04 13:42:08 +0200 | [diff] [blame] | 69 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:2.0.0 |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 70 | container_name: policy-control-panel |
| 71 | networks: |
| 72 | - default |
| 73 | ports: |
| 74 | - 8080:8080 |
| 75 | - 8082:8082 |
| 76 | |
| 77 | db: |
| 78 | image: mysql/mysql-server:5.6 |
| 79 | container_name: sdnc-db |
| 80 | networks: |
| 81 | - default |
| 82 | ports: |
| 83 | - "3306" |
| 84 | environment: |
| 85 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 86 | - MYSQL_ROOT_HOST=% |
| 87 | logging: |
| 88 | driver: "json-file" |
| 89 | options: |
| 90 | max-size: "30m" |
| 91 | max-file: "5" |
| 92 | |
| 93 | a1-controller: |
elinuxhenrik | 1fe0985 | 2020-07-27 13:06:03 +0200 | [diff] [blame] | 94 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller:2.1.0 |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 95 | depends_on : |
| 96 | - db |
| 97 | container_name: a1-controller |
| 98 | networks: |
| 99 | - default |
| 100 | entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] |
| 101 | ports: |
| 102 | - 8282:8181 |
| 103 | - 8443:8443 |
| 104 | links: |
| 105 | - db:dbhost |
| 106 | - db:sdnctldb01 |
| 107 | - db:sdnctldb02 |
| 108 | environment: |
| 109 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 110 | - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 111 | # For using own certs instead of the default ones (built into the container), |
| 112 | # place them in config/ directory, update the https-props-a1controller.properties file, and uncomment the following lines |
| 113 | #volumes: |
| 114 | # - ./config/keystore-a1controller.jks:/etc/ssl/certs/java/keystore.jks:ro |
| 115 | # - ./config/truststore-a1controller.jks:/etc/ssl/certs/java/truststore.jks:ro |
| 116 | # - ./config/https-props-a1controller.properties:/opt/onap/sdnc/data/properties/https-props.properties:ro |
ecaiyanlinux | d202b53 | 2020-05-30 15:17:59 +0200 | [diff] [blame] | 117 | logging: |
| 118 | driver: "json-file" |
| 119 | options: |
| 120 | max-size: "30m" |
| 121 | max-file: "5" |