You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-08-10 22:31:28 +02:00
update nifi
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
services:
|
||||
|
||||
init-nifi:
|
||||
image: apache/nifi:2.3.0
|
||||
image: apache/nifi:2.4.0
|
||||
entrypoint: ["bash", "-c"]
|
||||
command: ["test -f /tmp/bootstrap.conf || cp -v /opt/nifi/nifi-current/conf/* /tmp"]
|
||||
volumes:
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- ./data/nifi/conf:/tmp
|
||||
|
||||
nifi:
|
||||
image: apache/nifi:2.3.0
|
||||
image: apache/nifi:2.4.0
|
||||
ports:
|
||||
- "8443:8443"
|
||||
volumes:
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
registry:
|
||||
image: apache/nifi-registry:2.3.0
|
||||
image: apache/nifi-registry:2.4.0
|
||||
ports:
|
||||
- "18080:18080"
|
||||
volumes:
|
||||
|
@@ -16,10 +16,12 @@ server {
|
||||
proxy_set_header X-ProxyHost $host;
|
||||
proxy_set_header X-ProxyPort 443;
|
||||
proxy_set_header X-ProxyContextPath "";
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_set_header Host nifi;
|
||||
proxy_ssl_verify off;
|
||||
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
proxy_pass https://172.16.1.9:8443;
|
||||
}
|
||||
location /nifi-registry {
|
||||
proxy_set_header Origin http://172.16.1.9:18080;
|
||||
proxy_set_header X-ProxyScheme https;
|
||||
proxy_set_header X-ProxyHost $host;
|
||||
proxy_set_header X-ProxyPort 443;
|
||||
|
Reference in New Issue
Block a user