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 | # |
| 16 | version: '3.0' |
| 17 | services: |
| 18 | policy-agent: |
| 19 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:1.0.0 |
| 20 | container_name: policy-agent |
| 21 | networks: |
| 22 | default: |
| 23 | aliases: |
| 24 | - policy-agent-container |
| 25 | ports: |
| 26 | - 8081:8081 |
| 27 | - 8433:8433 |
| 28 | volumes: |
| 29 | - ./config:/opt/app/policy-agent/config:ro |
| 30 | |
| 31 | a1-sim-OSC: |
| 32 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:1.0.1 |
| 33 | container_name: a1-sim-OSC |
| 34 | networks: |
| 35 | - default |
| 36 | ports: |
| 37 | - 30001:8085 |
| 38 | - 30002:8185 |
| 39 | environment: |
| 40 | - A1_VERSION=OSC_2.1.0 |
| 41 | - REMOTE_HOSTS_LOGGING=1 |
| 42 | - ALLOW_HTTP=true |
| 43 | |
| 44 | a1-sim-STD: |
| 45 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator:1.0.1 |
| 46 | container_name: a1-sim-STD |
| 47 | networks: |
| 48 | - default |
| 49 | ports: |
| 50 | - 30003:8085 |
| 51 | - 30004:8185 |
| 52 | environment: |
| 53 | - A1_VERSION=STD_1.1.3 |
| 54 | - REMOTE_HOSTS_LOGGING=1 |
| 55 | - ALLOW_HTTP=true |
| 56 | |
| 57 | policy-control-panel: |
| 58 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel:1.0.0 |
| 59 | container_name: policy-control-panel |
| 60 | networks: |
| 61 | - default |
| 62 | ports: |
| 63 | - 8080:8080 |
| 64 | - 8082:8082 |
| 65 | |
| 66 | db: |
| 67 | image: mysql/mysql-server:5.6 |
| 68 | container_name: sdnc-db |
| 69 | networks: |
| 70 | - default |
| 71 | ports: |
| 72 | - "3306" |
| 73 | environment: |
| 74 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 75 | - MYSQL_ROOT_HOST=% |
| 76 | logging: |
| 77 | driver: "json-file" |
| 78 | options: |
| 79 | max-size: "30m" |
| 80 | max-file: "5" |
| 81 | |
| 82 | a1-controller: |
| 83 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller:1.7.5 |
| 84 | depends_on : |
| 85 | - db |
| 86 | container_name: a1-controller |
| 87 | networks: |
| 88 | - default |
| 89 | entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"] |
| 90 | ports: |
| 91 | - 8282:8181 |
| 92 | - 8443:8443 |
| 93 | links: |
| 94 | - db:dbhost |
| 95 | - db:sdnctldb01 |
| 96 | - db:sdnctldb02 |
| 97 | environment: |
| 98 | - MYSQL_ROOT_PASSWORD=openECOMP1.0 |
| 99 | - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties |
| 100 | logging: |
| 101 | driver: "json-file" |
| 102 | options: |
| 103 | max-size: "30m" |
| 104 | max-file: "5" |