File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -454,6 +454,8 @@ A collection of delicious docker recipes.
454454- [x] netdata/netdata
455455- [x] sonatype/nexus3
456456- [x] nextcloud
457+ - [x] apache/nifi
458+ - [x] apache/nifi-minifi-cpp
457459- [ ] jwilder/nginx-proxy
458460- [x] jc21/nginx-proxy-manager
459461- [x] luzifer/nginx-sso
Original file line number Diff line number Diff line change 1+ nifi-minifi-cpp
2+ ===============
3+
4+ ``` bash
5+ $ mkdir -p data/{conf,logs}
6+ $ chown -R 1000:1000 data
7+ $ docker compose up -d
8+ $ wget -O data/conf/config.yml https://github.com/apache/nifi-minifi-cpp/raw/refs/heads/main/examples/mqtt_config.yml
9+ $ vim data/conf/config.yml
10+ - change /tmp/input to /tmp
11+ - use your own mqtt server
12+ $ docker compose restart
13+ $ docker compose exec nifi-mini-cpp sh
14+ >>> echo hello > /tmp/x.txt
15+ ```
Original file line number Diff line number Diff line change 1+ services :
2+
3+ init-nifi-mini-cpp :
4+ image : apache/nifi-minifi-cpp:0.99.1
5+ entrypoint : ["sh", "-c"]
6+ command : ["test -f /tmp/minifi.properties || cp -v /opt/minifi/minifi-current/conf/* /tmp"]
7+ volumes :
8+ - init-nifi-mini-cpp-conf:/opt/minifi/minifi-current
9+ - ./data/conf:/tmp
10+
11+ nifi-minifi-cpp :
12+ image : apache/nifi-minifi-cpp:0.99.1
13+ ports :
14+ - " 8080:8080"
15+ volumes :
16+ - ./data/conf:/opt/minifi-cpp/conf
17+ - ./data/logs:/opt/minifi-cpp/logs
18+ depends_on :
19+ - init-nifi-mini-cpp
20+ restart : unless-stopped
21+
22+ volumes :
23+ init-nifi-mini-cpp-conf :
You can’t perform that action at this time.
0 commit comments