-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (31 loc) · 1.05 KB
/
README
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
# based on: https://github.com/diethardsteiner/diethardsteiner.github.io/tree/master/sample-files/pdi/docker-pdi
# build docker image
# etl folder content will be copied to /home/pentaho/etl
# lib folder content will be copied to /home/pentaho/data-integration/lib
docker build -t emanuelefiore:pdi .
################## AUTOMATIC EXECUTION WITH MASTER AND 1 SLAVE ###################
# build and execution
docker-compose up -d
# scaling with n slave(s)
docker-compose scale slave=n
################## MANUAL EXECUTION WITH MASTER AND 1 SLAVE #####################
# execution of docker master container
docker run -d \
-p 8181:8181 \
-e PDI_RELEASE=8.3 \
-e PDI_VERSION=8.3.0.0-371 \
-e CARTE_PORT=8181 \
--name kettle-container83 \
emanuelefiore:pdi
# execution of docker slave container
docker run -d \
-p 8182:8182 \
-e PDI_RELEASE=8.3 \
-e PDI_VERSION=8.3.0.0-371 \
-e CARTE_PORT=8182 \
-e CARTE_IS_MASTER=N \
-e CARTE_INCLUDE_MASTERS=Y \
-e CARTE_MASTER_HOSTNAME=kettle-container83 \
-e CARTE_MASTER_PORT=8181 \
--name kettle-container83-slave \
emanuelefiore:pdi