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:
|
services:
|
||||||
|
|
||||||
init-nifi:
|
init-nifi:
|
||||||
image: apache/nifi:2.3.0
|
image: apache/nifi:2.4.0
|
||||||
entrypoint: ["bash", "-c"]
|
entrypoint: ["bash", "-c"]
|
||||||
command: ["test -f /tmp/bootstrap.conf || cp -v /opt/nifi/nifi-current/conf/* /tmp"]
|
command: ["test -f /tmp/bootstrap.conf || cp -v /opt/nifi/nifi-current/conf/* /tmp"]
|
||||||
volumes:
|
volumes:
|
||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- ./data/nifi/conf:/tmp
|
- ./data/nifi/conf:/tmp
|
||||||
|
|
||||||
nifi:
|
nifi:
|
||||||
image: apache/nifi:2.3.0
|
image: apache/nifi:2.4.0
|
||||||
ports:
|
ports:
|
||||||
- "8443:8443"
|
- "8443:8443"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -39,7 +39,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
image: apache/nifi-registry:2.3.0
|
image: apache/nifi-registry:2.4.0
|
||||||
ports:
|
ports:
|
||||||
- "18080:18080"
|
- "18080:18080"
|
||||||
volumes:
|
volumes:
|
||||||
|
@@ -12,18 +12,20 @@ server {
|
|||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-ProxyScheme https;
|
proxy_set_header X-ProxyScheme https;
|
||||||
proxy_set_header X-ProxyHost $host;
|
proxy_set_header X-ProxyHost $host;
|
||||||
proxy_set_header X-ProxyPort 443;
|
proxy_set_header X-ProxyPort 443;
|
||||||
proxy_set_header X-ProxyContextPath "";
|
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 {
|
location /nifi-registry {
|
||||||
proxy_set_header Origin http://172.16.1.9:18080;
|
proxy_set_header X-ProxyScheme https;
|
||||||
proxy_set_header X-ProxyScheme https;
|
proxy_set_header X-ProxyHost $host;
|
||||||
proxy_set_header X-ProxyHost $host;
|
proxy_set_header X-ProxyPort 443;
|
||||||
proxy_set_header X-ProxyPort 443;
|
proxy_set_header X-ProxyContextPath "";
|
||||||
proxy_set_header X-ProxyContextPath "";
|
proxy_pass http://127.0.0.1:18080;
|
||||||
proxy_pass http://127.0.0.1:18080;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user