Merge "Refactored the docker compose This enables the one click deployment of all...
[nonrtric.git] / test / simulator-group / consul_cbs / consul / cbs_localhost_config.hcl
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2020 Nordix Foundation. All rights reserved.
3 #  ========================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #  ============LICENSE_END=================================================
16 #
17
18 service {
19   # Name for CBS in consul, env var CONFIG_BINDING_SERVICE
20   # should be passed to Policy Agent app with this value
21   # This is only to be used when contacting cbs via local host
22   # (typicall when Policy Agent is executed as an application without a container)
23   Name = "config-binding-service-localhost"
24   # Host name where CBS is running
25   Address = "localhost"
26   # Port number where CBS is running
27   Port = 10000
28 }