-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
118 lines (113 loc) · 9.34 KB
/
docker-compose.yaml
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
version: '3.1'
services:
pentaho_server:
container_name: pentaho-server
build:
dockerfile: Dockerfile
context: .
environment:
- DOCKER_PENTAHO_REPOSITORY=postgresql
- DOCKER_PENTAHO_POSTGRES_HIBERNATE_URL=jdbc:postgresql://db:5432/hibernate
- DOCKER_PENTAHO_POSTGRES_HIBERNATE_USERNAME=hibuser
- DOCKER_PENTAHO_POSTGRES_HIBERNATE_PASSWORD=password
- DOCKER_PENTAHO_POSTGRES_QUARTZ_URL=jdbc:postgresql://db:5432/quartz
- DOCKER_PENTAHO_POSTGRES_QUARTZ_USERNAME=pentaho_user
- DOCKER_PENTAHO_POSTGRES_QUARTZ_PASSWORD=password
- DOCKER_PENTAHO_POSTGRES_JACKRABBIT_URL=jdbc:postgresql://db:5432/jackrabbit
- DOCKER_PENTAHO_POSTGRES_JACKRABBIT_USERNAME=jcr_user
- DOCKER_PENTAHO_POSTGRES_JACKRABBIT_PASSWORD=password
- DOCKER_PENTAHO_CORS_ALLOWED_DOMAINS=http://dev-pentaho.com:8081
- DOCKER_PENTAHO_TOMCAT_PROXY_PORT=8081
- DOCKER_PENTAHO_TOMCAT_PROXY_NAME=dev-pentaho.com
- DOCKER_PENTAHO_TOMCAT_PROXY_SCHEME=http
- DOCKER_PENTAHO_AUTH_MODE=saml
- DOCKER_PENTAHO_LDAP_ROLE_ATTRIBUTE=employeeType
- DOCKER_PENTAHO_IDP_URL=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HWQFU4NtpinEcCAwEAAaNTMFEwHQYDVR0OBBYEFHlZxyDRrSCrxu43Y8ZS2LRiz65MMB8GA1UdIwQYMBaAFHlZxyDRrSCrxu43Y8ZS2LRiz65MMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggGBAGkGP2erE471UQifHZjOiz/YiCi9ddA/u/JRMB6wlHR+NrAj3Q5hTD+9VLqrhDbqHHVDfAvm9+Tpt8AQreE4w+DG8JmveY/hKEzPveFkfU5jwXLnRnO10WckaRaXK1fOPXadMiaU41bumg5HLZlMGSjBOvHbsXsGM9JN50zkb/6Xxu+PMltyMGjAVKjYLeArQzVNQC/ecnetUcGq6soK/RPDyLBKOxz17wquBlu8GdOuK+frufd8j7IVQPVEp38LqsV/91db3rXWH6IljwYsRceRHpn5+sVXRMcHiVYSWDm+dcnkjtda+PRghnfeElVHNzvOCKbIX2c5M5vYxzslG0w7IoGEI0Q+2TNSaSgY+QbBGk4HmVEbm/T3hsnEPLqTH3jJFLlg/BmSmftfwgLhRHbRE3/VcC3x4frTUkbu+yD7FzDzi6ADSzhQoYpoZUN5e8rjMpkiq5HyVoxM6WFEHxQ5a5ba9fRNvyvFXxse9vRYE5ax6wcqItTxyaoGj/8eBw==
- DOCKER_PENTAHO_IDP_ENTITYID=http://dev-pentaho.com:8443/simplesaml/saml2/idp/metadata.php
- DOCKER_PENTAHO_IDP_LOGOUTURL=http://dev-pentaho.com:8443/simplesaml/saml2/idp/SingleLogoutService.php
- DOCKER_PENTAHO_IDP_SSOURL=http://dev-pentaho.com:8443/simplesaml/saml2/idp/SSOService.php
- DOCKER_PENTAHO_SP_CERT=MIIDUjCCAjqgAwIBAgIEUOLIQTANBgkqhkiG9w0BAQUFADBrMQswCQYDVQQGEwJGSTEQMA4GA1UECBMHVXVzaW1hYTERMA8GA1UEBxMISGVsc2lua2kxGDAWBgNVBAoTD1JNNSBTb2Z0d2FyZSBPeTEMMAoGA1UECwwDUiZEMQ8wDQYDVQQDEwZh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18RZm311JFwIZH8vK0gMKwbIk6oncIFt4+EUPp5J0o8j+Qi3WjosgpHwYjSHeXE59DPk4wcqgq389EC0nNjtwKBgHMOhIF+O37UU2E3LQZzkiHqTsWMdum2NkPP7CJLX14cOz32L98RNaxV2mVjVsTVLHI4I6EVep+79pMBKaQxefGXnFWe34UlP33klnuJSotCE2owrhbpacNvOT2tf3OPmMGsc7y6uWz27uBjgk7q5BqtL7y7fuQfRP8vT5yZ5u2HAoGBALMzjbrAqFdrMFay70+AH4JP97ibs9N8nk1DY+Y2YamT3+8S8em3zKBLA/kqMGfbVZ459NoD1UrnfeAYULXlPPYg5qmTqP8TM54n6REYwwiDPLSi1rBNZEjXtYSK/woyfTGFMH4ba6TpxTkhWT5BeuzZSScaCWlTSpIm7cvCmW1Z
- DOCKER_PENTAHO_SP_HOSTNAME=http://dev-pentaho.com:8081
ports:
- 8081:8080
volumes:
- ./pentaho-server:/home/pentaho/pentaho-server
- ./entrypoint:/home/pentaho/entrypoint
- ./entrypoint/templates/saml/metadata:/home/pentaho/pentaho-server/pentaho-solutions/metadata/
depends_on:
- db
db:
container_name: pentaho-postgres
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- 5432:5432
adminer:
container_name: pentaho-adminer
image: adminer
restart: always
ports:
- 8888:8080
########################
#### AUTHENTICATION ####
########################
ldap-openldap:
container_name: "ldap-openldap"
image: osixia/openldap:1.2.5
environment: # using an .env file here seems to break things.
LDAP_LOG_LEVEL: "256"
LDAP_ORGANISATION: "3S"
LDAP_DOMAIN: "pentaho.fr"
LDAP_BACKEND: "mdb"
LDAP_TLS: "true"
LDAP_TLS_ENFORCE: "false"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
LDAP_RFC2307BIS_SCHEMA: "true"
volumes:
- /var/lib/ldap
- /etc/ldap/slapd.d
- /container/service/slapd/assets/certs/
- ./ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
ports:
- "389:389"
- "636:636"
hostname: "pentaho.fr"
ldapadmin:
image: suezenv/phpldapadmin-docker
container_name: "pentaho_ldapadmin"
environment: # using an .env file here seems to break things.
LDAP_URL: "ldap-openldap"
LDAP_BASE: "dc=pentaho,dc=fr"
LDAP_ADMIN: "cn=admin,dc=pentaho,dc=fr"
volumes:
- ./phpldapadmin/templates/creation:/etc/phpldapadmin/templates/creation
ports:
- "8080:80"
depends_on:
- ldap-openldap
pentaho-idp:
container_name: 'pentaho_idp'
image: 'suezenv/simplesamlphp:latest'
ports:
- '8443:80'
volumes:
- './simplesamlphp/certs:/var/simplesamlphp/cert/'
#- './simplesamlphp/design/modules/suez/default-enable:/var/simplesamlphp/modules/suez/default-enable'
#- './simplesamlphp/design/modules/suez/www/static/media/sludge/bgHome.png:/var/simplesamlphp/modules/suez/www/static/media/sludge/bgHome.png'
#- './simplesamlphp/design/modules/suez/themes/sludge/core/loginuserpass.twig:/var/simplesamlphp/modules/suez/themes/sludge/core/loginuserpass.twig'
#- './simplesamlphp/design/modules/suez/themes/sludge/core/suez_base.twig:/var/simplesamlphp/modules/suez/themes/sludge/core/suez_base.twig'
#- './simplesamlphp/design/modules/suez/themes/sludge/default/base.twig:/var/simplesamlphp/modules/suez/themes/sludge/default/base.twig'
#- './simplesamlphp/design/modules/suez/themes/sludge/default/style.css.twig:/var/simplesamlphp/modules/suez/themes/sludge/default/style.css.twig'
- './simplesamlphp/var-simplesamlphp/metadata/saml20-sp-remote.php:/var/simplesamlphp/metadata/saml20-sp-remote.php'
- './simplesamlphp/var-simplesamlphp/metadata/saml20-idp-hosted.php:/var/simplesamlphp/metadata/saml20-idp-hosted.php'
- './simplesamlphp/var-simplesamlphp/config/authsources.php:/var/simplesamlphp/config/authsources.php'
- './simplesamlphp/var-simplesamlphp/config/config.php:/var/simplesamlphp/config/config.php'
- './simplesamlphp/etc-httpd/conf.d/ssp.conf:/etc/httpd/conf.d/ssp.conf'
links:
- 'ldap-openldap'