Loading README.md +4 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,7 @@ You can check stores content with: keytool -list -v -keystore keystore.p12 keytool -list -v -keystore truststore.p12 ``` ## Adding truststore/keystore to volume When deploying at first time, you must copy generated stores to `${SECURITY_VOL_NAME}` volume (at root level). NiFi needs these files at startup. deploy/.env +0 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,9 @@ LDAP_USER_SEARCH_BASE=dc=example,dc=org LDAP_USER_SEARCH_FILTER=cn={0} LDAP_IDENTITY_STRATEGY=USE_DN LDAP_URL=ldap://openldap:389 KEYSTORE_PATH=/certs/keystore.p12 KEYSTORE_TYPE=PKCS12 KEYSTORE_PASSWORD=changeme KEY_PASSWORD=changeme TRUSTSTORE_PATH=/certs/truststore.p12 TRUSTSTORE_PASSWORD=changeme TRUSTSTORE_TYPE=PKCS12 AUTH=ldap Loading deploy/docker-compose.tmpl.yml +6 −14 Original line number Diff line number Diff line Loading @@ -6,6 +6,8 @@ services: environment: HOME: ${NIFI_HOME}/conf NIFI_WEB_PROXY_HOST: ${TRAEFIK_SUBDOMAIN}.${PUBLIC_HOSTNAME}:${NIFI_WEB_HTTPS_PORT} TRUSTSTORE_PATH: ${NIFI_HOME}/security/truststore.p12 KEYSTORE_PATH: ${NIFI_HOME}/security/keystore.p12 NIFI_HOME: INITIAL_ADMIN_IDENTITY: LDAP_AUTHENTICATION_STRATEGY: Loading @@ -15,11 +17,9 @@ services: LDAP_USER_SEARCH_FILTER: LDAP_IDENTITY_STRATEGY: LDAP_URL: KEYSTORE_PATH: KEYSTORE_TYPE: KEYSTORE_PASSWORD: KEY_PASSWORD: TRUSTSTORE_PATH: TRUSTSTORE_PASSWORD: TRUSTSTORE_TYPE: AUTH: Loading @@ -38,14 +38,11 @@ services: - content-vol:${NIFI_HOME}/content_repository - provenance-vol:${NIFI_HOME}/provenance_repository - state-vol:${NIFI_HOME}/state - security-vol:${NIFI_HOME}/security - ingest-vol:${NIFI_HOME}/data configs: - source: logback-xml target: ${NIFI_HOME}/conf/logback.xml - source: truststore-p12 target: ${TRUSTSTORE_PATH} - source: keystore-p12 target: ${KEYSTORE_PATH} healthcheck: test: curl --silent --output /dev/null --insecure https://localhost:${NIFI_WEB_HTTPS_PORT}/nifi interval: ${HEALTHCHECK_INTERVAL:-30s} Loading Loading @@ -94,15 +91,10 @@ volumes: state-vol: name: ${STATE_VOL_NAME:-nifi-state-vol} security-vol: name: ${SECURITY_VOL_NAME:-nifi-security-vol} configs: logback-xml: name: ${LOGBACK_XML_NAME:-nifi-logback-xml} file: ./config/logback.xml truststore-p12: name: ${TRUSTSTORE_P12_NAME:-nifi-truststore-p12} file: ./config/truststore.p12 keystore-p12: name: ${KEYSTORE_P12_NAME:-nifi-keystore-p12} file: ./config/keystore.p12 Loading
README.md +4 −0 Original line number Diff line number Diff line Loading @@ -30,3 +30,7 @@ You can check stores content with: keytool -list -v -keystore keystore.p12 keytool -list -v -keystore truststore.p12 ``` ## Adding truststore/keystore to volume When deploying at first time, you must copy generated stores to `${SECURITY_VOL_NAME}` volume (at root level). NiFi needs these files at startup.
deploy/.env +0 −2 Original line number Diff line number Diff line Loading @@ -7,11 +7,9 @@ LDAP_USER_SEARCH_BASE=dc=example,dc=org LDAP_USER_SEARCH_FILTER=cn={0} LDAP_IDENTITY_STRATEGY=USE_DN LDAP_URL=ldap://openldap:389 KEYSTORE_PATH=/certs/keystore.p12 KEYSTORE_TYPE=PKCS12 KEYSTORE_PASSWORD=changeme KEY_PASSWORD=changeme TRUSTSTORE_PATH=/certs/truststore.p12 TRUSTSTORE_PASSWORD=changeme TRUSTSTORE_TYPE=PKCS12 AUTH=ldap Loading
deploy/docker-compose.tmpl.yml +6 −14 Original line number Diff line number Diff line Loading @@ -6,6 +6,8 @@ services: environment: HOME: ${NIFI_HOME}/conf NIFI_WEB_PROXY_HOST: ${TRAEFIK_SUBDOMAIN}.${PUBLIC_HOSTNAME}:${NIFI_WEB_HTTPS_PORT} TRUSTSTORE_PATH: ${NIFI_HOME}/security/truststore.p12 KEYSTORE_PATH: ${NIFI_HOME}/security/keystore.p12 NIFI_HOME: INITIAL_ADMIN_IDENTITY: LDAP_AUTHENTICATION_STRATEGY: Loading @@ -15,11 +17,9 @@ services: LDAP_USER_SEARCH_FILTER: LDAP_IDENTITY_STRATEGY: LDAP_URL: KEYSTORE_PATH: KEYSTORE_TYPE: KEYSTORE_PASSWORD: KEY_PASSWORD: TRUSTSTORE_PATH: TRUSTSTORE_PASSWORD: TRUSTSTORE_TYPE: AUTH: Loading @@ -38,14 +38,11 @@ services: - content-vol:${NIFI_HOME}/content_repository - provenance-vol:${NIFI_HOME}/provenance_repository - state-vol:${NIFI_HOME}/state - security-vol:${NIFI_HOME}/security - ingest-vol:${NIFI_HOME}/data configs: - source: logback-xml target: ${NIFI_HOME}/conf/logback.xml - source: truststore-p12 target: ${TRUSTSTORE_PATH} - source: keystore-p12 target: ${KEYSTORE_PATH} healthcheck: test: curl --silent --output /dev/null --insecure https://localhost:${NIFI_WEB_HTTPS_PORT}/nifi interval: ${HEALTHCHECK_INTERVAL:-30s} Loading Loading @@ -94,15 +91,10 @@ volumes: state-vol: name: ${STATE_VOL_NAME:-nifi-state-vol} security-vol: name: ${SECURITY_VOL_NAME:-nifi-security-vol} configs: logback-xml: name: ${LOGBACK_XML_NAME:-nifi-logback-xml} file: ./config/logback.xml truststore-p12: name: ${TRUSTSTORE_P12_NAME:-nifi-truststore-p12} file: ./config/truststore.p12 keystore-p12: name: ${KEYSTORE_P12_NAME:-nifi-keystore-p12} file: ./config/keystore.p12