Skip to content

Commit

Permalink
pollution-v2: add AIRFLOW_PROJ_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Mar 7, 2024
1 parent b884eec commit 64f89b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-pollution-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
X_PROVENANCE_NAME: ${{ env.PROJECT_NAME }}
X_PROVENANCE_VERSION: ${{ github.sha }}

X_AIRFLOW_PROJ_DIR: /opt/pollution-v2/airflow
X_AIRFLOW_UID: 5000
X_AIRFLOW__CORE__EXECUTOR: CeleryExecutor
X_AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres/airflow
Expand Down
6 changes: 3 additions & 3 deletions pollution_v2/infrastructure/docker-compose.run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ services:
&airflow-common
image: ${DOCKER_IMAGE}:${DOCKER_TAG}
# temporarly disabled: permission denied
# volumes:
# - ${AIRFLOW_PROJ_DIR:-.}/src:/opt/airflow/dags
# - ${AIRFLOW_PROJ_DIR:-.}/airflow/logs:/opt/airflow/logs
volumes:
- ${AIRFLOW_PROJ_DIR:-.}/src:/opt/airflow/dags
- ${AIRFLOW_PROJ_DIR:-.}/airflow/logs:/opt/airflow/logs
user: "${AIRFLOW_UID:-50000}:0"
env_file:
- .env
Expand Down

0 comments on commit 64f89b4

Please sign in to comment.