Hi Folks,
I’m experimenting with open source flowable 6.5 on my local machine running docker-compose. It is working great but when I try to publish my app in the modeler I receive the following error:
Error calling deploy endpoint: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
I think this might have something to do with my docker setup insofar as the localhost configuration is concerned. here is the section I think the problem is.. Does anyone have experience with this type of thing?
`` # --------------------------------------
Flowable IDM (Identity Management)
--------------------------------------
flowable-idm:
image: flowable/flowable-idm
container_name: flowable_idm
platform: linux/amd64
depends_on:
- postgres
environment:
SPRING_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
ports:
- “8080:8080”
networks:
- appnet
--------------------------------------
Flowable BPM Engine + REST API
--------------------------------------`
flowable-rest:
image: flowable/flowable-rest
container_name: flowable_rest
platform: linux/amd64
depends_on:
- postgres
- flowable-idm
environment:
SPRING_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
ports:
- “8081:8080”
networks:
- appnet
--------------------------------------
Flowable Modeler
--------------------------------------
flowable-modeler:
image: flowable/flowable-modeler
container_name: flowable_modeler
platform: linux/amd64
depends_on:
- postgres
- flowable-idm
environment:
SPRING_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
# REQUIRED for IDM integration — these must be EXACT
FLOWABLE_MODELER_IDM_URL: ```http://flowable-idm:8080/flowable-idm``
FLOWABLE_COMMON_APP_IDM_URL: ``http://flowable-idm:8080/flowable-idm``
FLOWABLE_COMMON_APP_IDM_REDIRECT_URL: ``http://localhost:8082/flowable-modeler``
FLOWABLE_IDM_APP_ADMIN_USER_ID: admin
FLOWABLE_IDM_APP_ADMIN_PASSWORD: test
ports:
- “8082:8888”
networks:
- appnet`
Hi Frank,
I would expect some property where to publish your app from modeler to runtime. That’s why default values were used.
Regards
Martin
Thank you, I was actually able to get past the original error but now I get the following:
flowable_modeler | 2025-12-08 11:00:08.975 ERROR 1 — [nio-8888-exec-8] o.f.u.m.s.AppDefinitionPublishService : Invalid deploy result code: HTTP/1.1 404 http://flowable-rest:8080/flowable-rest/repository/app-repository/deployments?deploymentKey=insolvencyApp&deploymentName=Insolvency+App for url
So i’ve upgraded from a “connection refused” to a “404” error.
ChatGPT is telling me that publishing apps through the Open Source version of flowable is actually disabled. This cant be right can it?
not for version 6.5
(if you want to you can still use
to download/publish your app.
Martin
I fixed my issue. It appears that when utilizing docker, I needed to establish the entire flowable all-in-one package. Here is the full docker-compose.yaml file for anyone else who runs into this issue:
services:
--------------------------------------
Database
--------------------------------------
postgres:
image: postgres:15
container_name: db_postgres
environment:
POSTGRES_USER: flowable
POSTGRES_PASSWORD: flowable
POSTGRES_DB: flowable
ports:
- “5432:5432”
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- appnet
--------------------------------------
Flowable ALL-IN-ONE (Modeler + IDM + REST + Task + Admin)
--------------------------------------
flowable-all:
image: flowable/all-in-one:latest
container_name: flowable_all
platform: linux/amd64
depends_on:
- postgres
environment:
SPRING_DATASOURCE_DRIVERCLASSNAME: org.postgresql.Driver
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/flowable
SPRING_DATASOURCE_USERNAME: flowable
SPRING_DATASOURCE_PASSWORD: flowable
# Optional: enable dev-friendly mode (hot reload)
FLOWABLE_COMMON_APP_IDM_ADMIN_USER: admin
FLOWABLE_COMMON_APP_IDM_ADMIN_PASSWORD: test
ports:
- "8080:8080" # All Flowable UI apps
networks:
- appnet
--------------------------------------
Node.js backend API
--------------------------------------
backend:
build: ./backend-api
container_name: node_api
command: npm run dev
volumes:
- ./backend-api:/usr/src/app
- /usr/src/app/node_modules
ports:
- “4000:4000”
environment:
- PORT=4000
- DB_HOST=postgres
- DB_USER=flowable
- DB_PASS=flowable
- DB_NAME=flowable
# REST API now lives inside flowable-all-in-one
- FLOWABLE_REST_URL=http://flowable_all:8080/flowable-rest
- FLOWABLE_USERNAME=admin
- FLOWABLE_PASSWORD=test
depends_on:
- postgres
- flowable-all
networks:
- appnet
--------------------------------------
React frontend
--------------------------------------
frontend:
build: ./frontend
container_name: react_frontend
command: npm start
volumes:
- ./frontend:/usr/src/app
- /usr/src/app/node_modules
ports:
- “3000:3000”
environment:
- CI=false
- REACT_APP_API_URL=http://node_api:4000
networks:
- appnet
--------------------------------------
Volumes
--------------------------------------
volumes:
postgres_data:
--------------------------------------
Network
--------------------------------------
networks:
appnet:
driver: bridge