Skip to content

Instantly share code, notes, and snippets.

@zahid
Created November 2, 2016 19:21
Show Gist options
  • Save zahid/cdce500976150bb7d31768d5c326391a to your computer and use it in GitHub Desktop.
Save zahid/cdce500976150bb7d31768d5c326391a to your computer and use it in GitHub Desktop.
A docker-compose setup for the jboss/drools-workbench-showcase and the jboss/kie-server-showcase images
version: '2'
services:
drools-wb:
container_name: drools-wb
image: jboss/drools-workbench-showcase:6.4.0.Final
ports:
- 8001:8001
- 18080:8080
kie-server:
container_name: kie-server
image: jboss/kie-server-showcase:6.4.0.Final
links:
- drools-wb:kie_wb
ports:
- 28080:8080
depends_on:
- drools-wb
environment:
# KIE Workbench environment variables
# Neccessary to connect the KIE server to the KIE workbench
- KIE_WB_PORT_8080_TCP=tcp://kie_wb:8080
- KIE_WB_ENV_KIE_CONTEXT_PATH=drools-wb
- KIE_WB_PORT_8080_TCP_ADDR=kie_wb
@alitskevich
Copy link

obsolete v2, not v3!

@mikerjacobi
Copy link

I ended up needing this set of kie-server environment variables:

      KIE_WB_PORT: tcp://kie_wb:8001
      KIE_WB_PORT_8001_TCP: tcp://kie_wb:8001
      KIE_WB_PORT_8001_TCP_ADDR: kie_wb
      KIE_WB_PORT_8080_TCP: tcp://kie_wb:8080
      KIE_WB_PORT_8080_TCP_ADDR: kie_wb
      KIE_WB_ENV_KIE_CONTEXT_PATH: business-central

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment