Skip to content

AlessioM/airflow-docker-gpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup

start postgres

docker-compose up -d postgres_airflow

init db and add user

docker-compose run airflow_init

run webserver

docker-compose up -d airflow_webserver

run scheduler

docker-compose up airflow_scheduler

running

  • web server is exposed on port 9090
  • login admin/airflow
  • dag_id is gpu_docker_dag
  • task logs can be found in ./logs

reproduce

  • uncomment line in docker-compose
  • update docker-py in the airflow_scheduler service:
    • pip install --upgrade docker>=4.3.0
  • run dag gpu_docker_dag
  • task no_gpu fails, with_gpu succeeds

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published