BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [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 | networks: |
| 18 | default: |
| 19 | external: |
| 20 | name: ${DOCKER_SIM_NWNAME} |
| 21 | services: |
| 22 | policy-agent: |
| 23 | image: ${POLICY_AGENT_IMAGE} |
| 24 | container_name: ${POLICY_AGENT_APP_NAME} |
| 25 | networks: |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 26 | default: |
| 27 | aliases: |
| 28 | - ${POLICY_AGENT_APP_NAME_ALIAS} |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 29 | ports: |
| 30 | - ${POLICY_AGENT_EXTERNAL_PORT}:${POLICY_AGENT_INTERNAL_PORT} |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 31 | - ${POLICY_AGENT_EXTERNAL_SECURE_PORT}:${POLICY_AGENT_INTERNAL_SECURE_PORT} |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 32 | environment: |
| 33 | - CONSUL_HOST=${CONSUL_HOST} |
| 34 | - CONSUL_PORT=${CONSUL_INTERNAL_PORT} |
| 35 | - CONFIG_BINDING_SERVICE=${CONFIG_BINDING_SERVICE} |
| 36 | - HOSTNAME=${POLICY_AGENT_APP_NAME} |
| 37 | |
| 38 | |