X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Fsimulator-group%2Fpolicy_agent%2Fdocker-compose.yml;fp=near-rt-ric-simulator%2Fsimulator-group%2Fpolicy_agent%2Fdocker-compose.yml;h=f349249c0eea2c47bf56be6e090a795c89c97f21;hb=80a9200dc1dfc342d5debfaa5df3d28c14bc5a68;hp=0000000000000000000000000000000000000000;hpb=f217fffad3db72759708ea68892357b46b8ed4a0;p=nonrtric.git diff --git a/near-rt-ric-simulator/simulator-group/policy_agent/docker-compose.yml b/near-rt-ric-simulator/simulator-group/policy_agent/docker-compose.yml new file mode 100644 index 00000000..f349249c --- /dev/null +++ b/near-rt-ric-simulator/simulator-group/policy_agent/docker-compose.yml @@ -0,0 +1,35 @@ +# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# ======================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END================================================= +# +version: '3.0' +networks: + default: + external: + name: ${DOCKER_SIM_NWNAME} +services: + policy-agent: + image: ${POLICY_AGENT_IMAGE} + container_name: ${POLICY_AGENT_APP_NAME} + networks: + - default + ports: + - ${POLICY_AGENT_EXTERNAL_PORT}:${POLICY_AGENT_INTERNAL_PORT} + environment: + - CONSUL_HOST=${CONSUL_HOST} + - CONSUL_PORT=${CONSUL_INTERNAL_PORT} + - CONFIG_BINDING_SERVICE=${CONFIG_BINDING_SERVICE} + - HOSTNAME=${POLICY_AGENT_APP_NAME} + +