blob: f9a35b6972b0d24880eb966e0783837c242044a0 [file] [log] [blame]
David Garcia82c5ffa2020-03-09 08:38:17 +01001# Copyright 2020 Canonical Ltd.
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.
14version: 2
15containers:
16 - name: %(name)s
David Garciafa75eca2020-11-04 18:34:41 +010017 imageDetails:
18 imagePath: %(image)s
19 username: %(image_username)s
20 password: %(image_password)s
David Garcia82c5ffa2020-03-09 08:38:17 +010021 ports:
22 - containerPort: %(advertised-port)s
23 protocol: TCP
24 config:
25 ALLOW_ANONYMOUS_LOGIN: 'yes'
26
27 OSMNBI_MESSAGE_HOST: %(kafka_host)s
28 OSMNBI_MESSAGE_DRIVER: kafka
29 OSMNBI_MESSAGE_PORT: %(kafka_port)s
30
31 OSMNBI_DATABASE_DRIVER: mongo
32 OSMNBI_DATABASE_URI: %(mongo_uri)s
33 OSMNBI_DATABASE_COMMONKEY: %(DATABASE_COMMONKEY)s
beierlma4a37f72020-06-26 12:55:01 -040034
David Garcia82c5ffa2020-03-09 08:38:17 +010035 OSMNBI_STORAGE_DRIVER: mongo
36 OSMNBI_STORAGE_PATH: /app/storage
37 OSMNBI_STORAGE_COLLECTION: files
38 OSMNBI_STORAGE_URI: %(mongo_uri)s
39
40 OSMNBI_STATIC_DIR: /app/osm_nbi/html_public
beierlma4a37f72020-06-26 12:55:01 -040041
David Garcia82c5ffa2020-03-09 08:38:17 +010042 OSMNBI_PROMETHEUS_HOST: %(prometheus_host)s
43 OSMNBI_PROMETHEUS_PORT: %(prometheus_port)s
beierlma4a37f72020-06-26 12:55:01 -040044 OSMNBI_LOG_LEVEL: %(log_level)s