Loading deploy/docker-compose.dev.yml +1 −20 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: Loading @@ -10,22 +10,3 @@ services: reservations: cpus: '0.2' memory: 820M volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol} deploy/docker-compose.prod.yml +1 −46 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: deploy: placement: constraints: - node.role == worker resources: limits: cpus: '1' Loading @@ -13,45 +10,3 @@ services: reservations: cpus: '0.2' memory: 1639M volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} driver: 'cloudstor:aws' driver_opts: backing: relocatable size: 1 ebstype: gp2 nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} driver: 'cloudstor:aws' driver_opts: backing: relocatable size: 2 ebstype: gp2 ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol} driver: 'cloudstor:aws' driver_opts: backing: shared deploy/docker-compose.tmpl.yml +20 −6 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: Loading @@ -10,7 +10,6 @@ services: NIFI_WEB_HTTP_HOST: networks: - traefik-net - kafka-net volumes: - nifi-log-vol:${NIFI_LOG_DIR} - nifi-conf-vol:${NIFI_HOME}/conf Loading Loading @@ -47,10 +46,6 @@ networks: name: ${TRAEFIK_NET_NAME:-traefik-net} external: true kafka-net: name: ${KAFKA_NET_NAME:-kafka-net} external: true volumes: nifi-log-vol: name: ${NIFI_LOG_VOL_NAME:-nifi-log-vol} Loading @@ -62,3 +57,22 @@ configs: logback-xml: name: ${LOGBACK_XML_NAME:-nifi-logback-xml} file: ./config/logback.xml volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol} No newline at end of file Loading
deploy/docker-compose.dev.yml +1 −20 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: Loading @@ -10,22 +10,3 @@ services: reservations: cpus: '0.2' memory: 820M volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol}
deploy/docker-compose.prod.yml +1 −46 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: deploy: placement: constraints: - node.role == worker resources: limits: cpus: '1' Loading @@ -13,45 +10,3 @@ services: reservations: cpus: '0.2' memory: 1639M volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} driver: 'cloudstor:aws' driver_opts: backing: shared nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} driver: 'cloudstor:aws' driver_opts: backing: relocatable size: 1 ebstype: gp2 nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} driver: 'cloudstor:aws' driver_opts: backing: relocatable size: 2 ebstype: gp2 ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol} driver: 'cloudstor:aws' driver_opts: backing: shared
deploy/docker-compose.tmpl.yml +20 −6 Original line number Diff line number Diff line version: '3.5' version: '3.7' services: nifi: Loading @@ -10,7 +10,6 @@ services: NIFI_WEB_HTTP_HOST: networks: - traefik-net - kafka-net volumes: - nifi-log-vol:${NIFI_LOG_DIR} - nifi-conf-vol:${NIFI_HOME}/conf Loading Loading @@ -47,10 +46,6 @@ networks: name: ${TRAEFIK_NET_NAME:-traefik-net} external: true kafka-net: name: ${KAFKA_NET_NAME:-kafka-net} external: true volumes: nifi-log-vol: name: ${NIFI_LOG_VOL_NAME:-nifi-log-vol} Loading @@ -62,3 +57,22 @@ configs: logback-xml: name: ${LOGBACK_XML_NAME:-nifi-logback-xml} file: ./config/logback.xml volumes: nifi-conf-vol: name: ${NIFI_CONF_VOL_NAME:-nifi-conf-vol} nifi-database-vol: name: ${NIFI_DATABASE_VOL_NAME:-nifi-database-vol} nifi-flowfile-vol: name: ${NIFI_FLOWFILE_VOL_NAME:-nifi-flowfile-vol} nifi-content-vol: name: ${NIFI_CONTENT_VOL_NAME:-nifi-content-vol} nifi-provenance-vol: name: ${NIFI_PROVENANCE_VOL_NAME:-nifi-provenance-vol} ingest-data-vol: name: ${INGEST_DATA_VOL_NAME:-ingest-data-vol} No newline at end of file