Skip to content

Instantly share code, notes, and snippets.

@changux
Forked from zahid/docker-compose.yml
Last active December 30, 2021 00:31
Show Gist options
  • Save changux/aa8e778f3fd075d18f2ac07ffae719fd to your computer and use it in GitHub Desktop.
Save changux/aa8e778f3fd075d18f2ac07ffae719fd 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: '3'
services:
drools-wb:
container_name: drools-wb
image: jboss/drools-workbench-showcase:7.10.0.Final
ports:
- 8001:8001
- 28080:8080
kie-server:
container_name: kie-server
image: jboss/kie-server-showcase:7.10.0.Final
links:
- drools-wb:kie_wb
ports:
- 8080: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
@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