This repository was archived by the owner on Jan 7, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (77 loc) · 2.35 KB
/
docker-compose.yml
File metadata and controls
81 lines (77 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
services:
node-red:
image: 5minds/node-red:node-red-contrib-processcube-4
build:
context: .
ports:
# node-red port
- 1880:1880
# debugger port
- 9229:9229
environment:
- TZ=Europe/Berlin
- ENGINE_URL=http://engine:8000
- TOPIC=TopicFromENV
# start node-red with debugger port open
- NODE_OPTIONS=--inspect=0.0.0.0:9229
#- NODE_OPTIONS=--inspect-brk=0.0.0.0:9229
- NODE_RED_ETW_HEARTBEAT_LOGGING=false
- NODE_RED_ETW_STEP_LOGGING=true
- NODE_RED_ETW_STOP_IF_FAILED=true
- NODERED_NAME=Node-RED contrib
- NODE_RED_ETW_LOCK_DURATION=120000
- NODE_RED_ETW_LONGPOLLING_TIMEOUT=50000
volumes:
# required for mapping the current source into the directory
- ./.:/package_src/
# save the flows
- ./.processcube/nodered:/data
depends_on:
- engine
engine:
image: ghcr.io/5minds/processcube_engine:19.2.1-extensions-2.3.0
ports:
- 8000:8000
volumes:
- ./.processcube/engine/config/config.json:/etc/engine/config/config.json:ro
- ./processes:/processes:ro
environment:
CONFIG_PATH: /etc/engine/config/config.json
application__name: Engine for Node-RED contrib
iam__baseUrl: http://authority:11560
iam__allowAnonymousRootAccess: true
command: --seed-dir=/processes --port 8000
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: bash -c "[ -f /tmp/healthy ]"
timeout: 1s
retries: 20
postgres:
image: postgres
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: enginedb
PGDATA: /data/postgres/db
volumes:
- ./postgres/initdb:/docker-entrypoint-initdb.d:ro
- ./postgres/db.instance:/data/postgres
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
interval: 5s
retries: 10
timeout: 10s
restart: unless-stopped
authority:
image: ghcr.io/5minds/processcube_authority:3.2.0
ports:
- 11560:11560
volumes:
- ./.processcube/authority/config:/etc/authority/config:ro
- ./.processcube/authority/db:/app/authority/storage/
environment:
UPE_SEED_PATH: /etc/authority/config/upeSeedingData.json