Skip to content

Commit

Permalink
Update Airflow endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxbse committed Nov 20, 2024
1 parent f6b987b commit 7211890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN sed -i '34 i sed -i "s/hadoop:/\$HADOOP_HOST:/g" /home/airflow/hadoop/etc/ha
RUN sed -i '34 i sed -i "s/hadoop:/\$HADOOP_HOST:/g" /home/airflow/hadoop/etc/hadoop/yarn-site.xml' /startup.sh
# Setting AIRFLOW__WEBSERVER__BASE_URL did not get applied for unknown reasons, update the config file instead
RUN sed -i "34 i sed -i 's#base_url = http://localhost:8080#base_url = http://localhost:8080/airflow#' /home/airflow/airflow/airflow.cfg" /startup.sh
RUN sed -i "34 i sed -i 's#endpoint_url = http://localhost:8080#endpoint_url = http://localhost:8080/airflow#' /home/airflow/airflow/airflow.cfg" /startup.sh

COPY airflow/ /home/airflow/airflow/
COPY spark/ /home/airflow/airflow/python/
Expand Down

0 comments on commit 7211890

Please sign in to comment.