Skip to content

Commit 66a2a60

Browse files
committed
Deploy: nifi mount cleanup.
1 parent 9d73c4c commit 66a2a60

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

deploy/services.dev.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ services:
104104
- ../nifi/drivers:/opt/nifi/drivers
105105

106106
# INFO: if there are local changes, map these content from local host to container
107-
# (normally, these 3 directories below are bundled with our NiFi image)
107+
# (normally, these directories below are bundled with our NiFi image)
108108
# N.B. The container user may not have the permission to read these directories/files.
109-
- ../nifi/user_templates:/opt/nifi/user_templates:rw
110109
- ../nifi/user_scripts:/opt/nifi/user_scripts:rw
111110
- ../nifi/user_schemas:/opt/nifi/user_schemas:rw
112111

@@ -120,7 +119,7 @@ services:
120119
- ../security/scripts/nifi_create_single_user_auth.sh:/opt/nifi/nifi-current/security_scripts/nifi_create_single_user_auth.sh:ro
121120

122121
# # Nifi properties file:
123-
- ../nifi/conf/:/opt/nifi/nifi-current/conf/:rw
122+
- ../nifi/conf/:/opt/nifi/nifi-current/conf/:ro
124123

125124
# this is where you should place data to be ingested, under the form of symbolic
126125
- ./${NIFI_DATA_PATH:-../data/}:/data/:rw
@@ -186,7 +185,7 @@ services:
186185
cpus: "${NIFI_REGISTRY_DOCKER_CPU_MIN}"
187186
memory: "${NIFI_REGISTRY_DOCKER_RAM}"
188187
volumes:
189-
- ../nifi/nifi-registry/:/opt/nifi-registry/nifi-registry-current/conf/:rw
188+
- ../nifi/nifi-registry/:/opt/nifi-registry/nifi-registry-current/conf/:ro
190189
- ../security:/security:ro
191190

192191
- nifi-registry-vol-database:/opt/nifi-registry/nifi-registry-current/database

deploy/services.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,8 @@ services:
494494
- ../nifi/drivers:/opt/nifi/drivers
495495

496496
# INFO: if there are local changes, map these content from local host to container
497-
# (normally, these 3 directories below are bundled with our NiFi image)
497+
# (normally, these directories below are bundled with our NiFi image)
498498
# N.B. The container user may not have the permission to read these directories/files.
499-
- ../nifi/user_templates:/opt/nifi/user_templates:rw
500499
- ../nifi/user_scripts:/opt/nifi/user_scripts:rw
501500
- ../nifi/user_schemas:/opt/nifi/user_schemas:rw
502501

@@ -510,7 +509,7 @@ services:
510509
- ../security/scripts/nifi_create_single_user_auth.sh:/opt/nifi/nifi-current/security_scripts/nifi_create_single_user_auth.sh:ro
511510

512511
# # Nifi properties file:
513-
- ../nifi/conf/:/opt/nifi/nifi-current/conf/:rw
512+
- ../nifi/conf/:/opt/nifi/nifi-current/conf/:ro
514513

515514
# this is where you should place data to be ingested, under the form of symbolic
516515
- ./${NIFI_DATA_PATH:-../data/}:/data/:rw
@@ -576,7 +575,7 @@ services:
576575
cpus: "${NIFI_REGISTRY_DOCKER_CPU_MIN}"
577576
memory: "${NIFI_REGISTRY_DOCKER_RAM}"
578577
volumes:
579-
- ../nifi/nifi-registry/:/opt/nifi-registry/nifi-registry-current/conf/:rw
578+
- ../nifi/nifi-registry/:/opt/nifi-registry/nifi-registry-current/conf/:ro
580579
- ../security:/security:ro
581580

582581
- nifi-registry-vol-database:/opt/nifi-registry/nifi-registry-current/database

0 commit comments

Comments
 (0)