Skip to content

Commit

Permalink
fix cred
Browse files Browse the repository at this point in the history
  • Loading branch information
Piao committed Jun 26, 2024
1 parent 8024b96 commit c5e861c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ENV NIFI_PID_DIR=${NIFI_HOME}/run
ENV NIFI_LOG_DIR=${NIFI_HOME}/logs
# Set GLACIATION credentials username password
ENV SINGLE_USER_CREDENTIALS_USERNAME=glaciation
ENV SINGLE_USER_CREDENTIALS_PASSWORD=glaciation
ENV SINGLE_USER_CREDENTIALS_PASSWORD=glaciationpassword

ADD sh/ ${NIFI_BASE_DIR}/scripts/
RUN chmod -R +x ${NIFI_BASE_DIR}/scripts/*.sh \
Expand Down
2 changes: 0 additions & 2 deletions server/sh/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ fi
if [ -n "${SINGLE_USER_CREDENTIALS_USERNAME}" ] && [ -n "${SINGLE_USER_CREDENTIALS_PASSWORD}" ]; then
${NIFI_HOME}/bin/nifi.sh set-single-user-credentials "${SINGLE_USER_CREDENTIALS_USERNAME}" "${SINGLE_USER_CREDENTIALS_PASSWORD}"
fi
# Set credential
${NIFI_HOME}/bin/nifi.sh set-single-user-credentials glaciation glaciation

. "${scripts_dir}/update_cluster_state_management.sh"

Expand Down

0 comments on commit c5e861c

Please sign in to comment.