This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
54 lines (53 loc) · 1.77 KB
/
docker-compose.yml
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
version: '2'
services:
pdi-slave:
build: .
image: zhicwu/pdi-ce${PDI_IMAGE_TAG}
hostname: ${SERVER_HOST}
container_name: ${PDI_CONTAINER_NAME}
command: slave
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
- "12345:12345"
volumes:
- ./ext:/pdi-ext:ro
- ./data/logs:/data-integration/logs:rw
- ./data/cache:/data-integration/system/karaf/caches:rw
- ./data/data:/data-integration/system/karaf/data:rw
- ./data/tmp:/tmp:rw
environment:
# uncomment below if you want to see the generated admin password
#DEBUG: Y
PENTAHO_DI_JAVA_OPTIONS: '${PENTAHO_DI_JAVA_OPTIONS}'
HOST_USER_ID: ${HOST_USER_ID}
PDI_HADOOP_CONFIG: ${PDI_HADOOP_CONFIG}
PDI_MAX_LOG_LINES: ${PDI_MAX_LOG_LINES}
PDI_MAX_LOG_TIMEOUT: ${PDI_MAX_LOG_TIMEOUT}
PDI_MAX_OBJ_TIMEOUT: ${PDI_MAX_OBJ_TIMEOUT}
CERT_COUNTRY: ${CERT_COUNTRY}
CERT_STATE: ${CERT_STATE}
CERT_LOCATION: ${CERT_LOCATION}
CERT_ORGANIZATION: ${CERT_ORGANIZATION}
CERT_ORG_UNIT: ${CERT_ORG_UNIT}
CERT_NAME: ${CERT_NAME}
SERVER_NAME: ${SERVER_NAME}
SERVER_HOST: ${SERVER_HOST}
SERVER_PORT: ${SERVER_PORT}
SERVER_USER: ${SERVER_USER}
SERVER_PASSWD: ${SERVER_PASSWD}
MASTER_NAME: ${MASTER_NAME}
MASTER_HOST: ${MASTER_HOST}
MASTER_PORT: ${MASTER_PORT}
MASTER_CONTEXT: ${MASTER_CONTEXT}
MASTER_USER: ${MASTER_USER}
MASTER_PASSWD: ${MASTER_PASSWD}
# still need below even using docker engine 1.12
# see more at https://github.com/docker/docker/issues/21051 and https://docs.docker.com/engine/security/seccomp/
security_opt:
- seccomp:unconfined
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
restart: always