Created
February 17, 2020 14:31
-
-
Save evacchi/df44d9586df10554bb31080b399ae180 to your computer and use it in GitHub Desktop.
Kogito Docker Compose Minimal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
infinispan: | |
image: infinispan/server:10.0.0.Final-1 | |
ports: | |
- 11222:11222 | |
command: "/opt/infinispan/bin/server.sh -c infinispan-demo.xml" | |
volumes: | |
- ./infinispan/infinispan.xml:/opt/infinispan/server/conf/infinispan-demo.xml | |
kafka: | |
image: spotify/kafka | |
ports: | |
- 2181:2181 | |
- 9092:9092 | |
environment: | |
- ADVERTISED_HOST=localhost | |
- ADVERTISED_PORT=9092 | |
prometheus: | |
image: prom/prometheus:v2.8.0 | |
network_mode: host | |
volumes: | |
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml | |
command: | |
- '--config.file=/etc/prometheus/prometheus.yml' | |
ports: | |
- 9090:9090 | |
grafana: | |
image: grafana/grafana:6.0.1 | |
network_mode: host | |
depends_on: | |
- prometheus | |
ports: | |
- 3000:3000 | |
volumes: | |
- ./grafana/provisioning/:/etc/grafana/provisioning/ | |
data-index: | |
image: quay.io/kiegroup/kogito-data-index:latest | |
network_mode: host | |
depends_on: | |
- kafka | |
- infinispan | |
ports: | |
- 11222:11222 | |
- 8180:8180 | |
environment: | |
# - SCRIPT_DEBUG=true | |
- KOGITO_DATA_INDEX_HTTP_PORT=8180 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment