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 | 3215722 | 2020-12-03 15:56:17 +0100 | [diff] [blame] | 25 | image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent:2.2.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 | 7f685c3 | 2021-01-18 14:49:27 +0100 | [diff] [blame^] | 35 | - ./policy-service/config/application_configuration.json:/opt/app/policy-agent/data/application_configuration.json:ro |
RehanRaza | a9a369f | 2020-06-29 12:06:17 +0200 | [diff] [blame] | 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 |
RehanRaza | 7f685c3 | 2021-01-18 14:49:27 +0100 | [diff] [blame^] | 38 | # - ./policy-service/config/keystore-policyagent.jks:/opt/app/policy-agent/etc/cert/keystore.jks:ro |
| 39 | # - ./policy-service/config/truststore-policyagent.jks:/opt/app/policy-agent/etc/cert/truststore.jks:ro |
| 40 | # - ./policy-service/config/application-policyagent.yaml:/opt/app/policy-agent/config/application.yaml:ro |