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
53 image: wurstmeister/kafka:${KAFKA_TAG:-latest}
59 KAFKA_ADVERTISED_HOST_NAME: kafka
60 KAFKA_ADVERTISED_PORT: 9092
61 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
62 KAFKA_LOG_RETENTION_HOURS: 24
64 - /var/run/docker.sock:/var/run/docker.sock
66 test: zookeeper-shell.sh zookeeper:2181 ls /brokers/ids 2>&1 | grep "Node does not exist" && exit 1 || exit 0
86 image: prom/prometheus:${PROMETHEUS_TAG:-latest}
89 - "${OSM_PROM_PORTS:-9091:9090}"
91 - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
101 image: ${DOCKER_USER:-opensourcemano}/keystone:${TAG:-6}
109 - "${OSM_KEYSTONE_PORTS:-5000:5000}"
116 image: ${DOCKER_USER:-opensourcemano}/nbi:${TAG:-6}
120 - osm_packages:/app/storage
122 OSMNBI_DATABASE_HOST: mongo
123 OSMNBI_MESSAGE_HOST: kafka
127 - "${OSM_NBI_PORTS:-9999:9999}"
137 image: ${DOCKER_USER:-opensourcemano}/lcm:${TAG:-6}
141 - osm_packages:/app/storage
144 OSMLCM_DATABASE_HOST: mongo
145 OSMLCM_MESSAGE_HOST: kafka
164 - ro_db:/var/lib/mysql
175 image: ${DOCKER_USER:-opensourcemano}/ro:${TAG:-6}
187 - "${OSM_RO_PORTS:-9090:9090}"
194 image: ${DOCKER_USER:-opensourcemano}/mon:${TAG:-6}
198 - mon_db:/app/database
200 OSMMON_MESSAGE_HOST: kafka
201 OSMMON_MESSAGE_PORT: 9092
205 - "${OSM_MON_PORTS:-8662:8662}"
214 image: ${DOCKER_USER:-opensourcemano}/pol:${TAG:-6}
218 - pol_db:/app/database
220 OSMPOL_MESSAGE_HOST: kafka
221 OSMPOL_MESSAGE_PORT: 9092
233 image: ${DOCKER_USER:-opensourcemano}/light-ui:${TAG:-6}
243 - "${OSM_UI_PORTS:-80:80}"