1 # Copyright 2020 Canonical Ltd.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 image: %(docker_image)s
19 - containerPort: %(advertised-port)s
22 ALLOW_ANONYMOUS_LOGIN: 'yes'
24 OSMNBI_MESSAGE_HOST: %(kafka_host)s
25 OSMNBI_MESSAGE_DRIVER: kafka
26 OSMNBI_MESSAGE_PORT: %(kafka_port)s
28 OSMNBI_DATABASE_DRIVER: mongo
29 OSMNBI_DATABASE_URI: %(mongo_uri)s
30 OSMNBI_DATABASE_COMMONKEY: %(DATABASE_COMMONKEY)s
32 OSMNBI_STORAGE_DRIVER: mongo
33 OSMNBI_STORAGE_PATH: /app/storage
34 OSMNBI_STORAGE_COLLECTION: files
35 OSMNBI_STORAGE_URI: %(mongo_uri)s
37 OSMNBI_STATIC_DIR: /app/osm_nbi/html_public
39 OSMNBI_PROMETHEUS_HOST: %(prometheus_host)s
40 OSMNBI_PROMETHEUS_PORT: %(prometheus_port)s
41 OSMNBI_LOG_LEVEL: %(log_level)s