Skip to content

Commit 63672f2

Browse files
authored
284 integrate airflow to webapp (#285)
* Update environment variables and API endpoints in webapp and server code, and add Spark UI and Airflow base URLs to config.js and .env.dev * Update nginx.conf to proxy_pass to airflow-webserver instead of history-server and update X-Frame-Options header in docker/nginx/nginx.conf * Update nginx.conf, environment variables, and API endpoints, and add Spark UI and Airflow base URLs * Update environment variables and API endpoints, and add Spark UI and Airflow base URLs to webapp and server code
1 parent 8b5c445 commit 63672f2

File tree

12 files changed

+3211
-2
lines changed

12 files changed

+3211
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ PawMark is a platform for big data and AI. It is based on Apache Spark and Kuber
7878

7979
</details>
8080

81+
<details>
82+
<summary>Server</summary>
83+
84+
[![Build Docker - Server](https://github.com/xuwenyihust/PawMark/actions/workflows/build-docker-server.yml/badge.svg)](https://github.com/xuwenyihust/PawMark/actions/workflows/build-docker-server.yml)
85+
86+
- [Dockerfile](./server/Dockerfile)
87+
88+
</details>
89+
8190
<details>
8291
<summary>Spark</summary>
8392

docker/airflow/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ RUN python3 -m ipykernel install --user --name python3 --display-name "Python 3"
1818
# Set JAVA_HOME environment variable
1919
ENV JAVA_HOME /usr/lib/jvm/java-17-openjdk-amd64
2020

21+
COPY webserver_config.py /opt/airflow/webserver_config.py
22+
COPY airflow.cfg /opt/airflow/airflow.cfg
23+

0 commit comments

Comments
 (0)