4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
17 ########################################################################
31 name: ${OSM_NETWORK:-netosm}
34 # com.docker.network.driver.mtu: "1446"
37 image: wurstmeister/zookeeper:${ZOOKEEPER_TAG:-latest}
43 test: echo stat | nc localhost 2181
48 image: wurstmeister/kafka:${KAFKA_TAG:-latest}
54 KAFKA_ADVERTISED_HOST_NAME: kafka
55 KAFKA_ADVERTISED_PORT: 9092
56 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
57 KAFKA_LOG_RETENTION_HOURS: 24
59 - /var/run/docker.sock:/var/run/docker.sock
61 test: zookeeper-shell.sh zookeeper:2181 ls /brokers/ids 2>&1 | grep "Node does not exist" && exit 1 || exit 0
76 image: prom/prometheus:${PROMETHEUS_TAG:-latest}
79 - "${OSM_PROM_PORTS:-9091:9090}"
81 - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
86 image: ${DOCKER_USER:-opensourcemano}/keystone:${TAG:-6}
94 - "${OSM_KEYSTONE_PORTS:-5000:5000}"
96 image: ${DOCKER_USER:-opensourcemano}/nbi:${TAG:-6}
100 - osm_packages:/app/storage
102 OSMNBI_DATABASE_HOST: mongo
103 OSMNBI_MESSAGE_HOST: kafka
107 - "${OSM_NBI_PORTS:-9999:9999}"
112 image: ${DOCKER_USER:-opensourcemano}/lcm:${TAG:-6}
116 - osm_packages:/app/storage
119 OSMLCM_DATABASE_HOST: mongo
120 OSMLCM_MESSAGE_HOST: kafka
134 - ro_db:/var/lib/mysql
140 image: ${DOCKER_USER:-opensourcemano}/ro:${TAG:-6}
152 - "${OSM_RO_PORTS:-9090:9090}"
154 image: ${DOCKER_USER:-opensourcemano}/mon:${TAG:-6}
158 - mon_db:/app/database
160 OSMMON_MESSAGE_HOST: kafka
161 OSMMON_MESSAGE_PORT: 9092
165 - "${OSM_MON_PORTS:-8662:8662}"
174 image: ${DOCKER_USER:-opensourcemano}/pol:${TAG:-6}
178 - pol_db:/app/database
180 OSMPOL_MESSAGE_HOST: kafka
181 OSMPOL_MESSAGE_PORT: 9092
193 image: ${DOCKER_USER:-opensourcemano}/light-ui:${TAG:-6}
203 - "${OSM_UI_PORTS:-80:80}"