updated gitignore

This commit is contained in:
Cameron Seamons 2025-12-10 20:09:44 -07:00
parent d76a55020f
commit 34288dcbbe
2 changed files with 37 additions and 1 deletions

9
.gitignore vendored
View file

@ -14,4 +14,11 @@ __pycache__/
.vscode/ .vscode/
#Environment files #Environment files
.env .env
#Airflow files
airflow/logs/
airflow/__pycache__/
airflow/airflow.db
airflow/plugins/__pycache__/
postgres/data/

View file

@ -0,0 +1,29 @@
services:
db:
container_name: postgres_container
image: postgres:15.15
ports:
- 5000:5432
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres_data:/var/lib/postgresql/data
af:
container_name: airflow_container
image: apache/airflow:3.1.3
ports:
- ${AIRFLOW_PORT}:8080
environment:
AIRFLOW__DATABASE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@db:5432/airflow
depends_on:
- db
volumes:
- ./airflow/dags:/opt/airflow/dags
command: >
bash -c "airflow db migrate && airflow standalone"
volumes:
postgres_data: