Code Monkey home page Code Monkey logo

Comments (4)

boring-cyborg avatar boring-cyborg commented on July 22, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

from airflow.

RNHTTR avatar RNHTTR commented on July 22, 2024

The documented pattern for running Airflow in Docker can be found in the Airflow guide Running Airflow in Docker. The docker compose file is a bit more extensive than the one you've shared.

Can you try following that guide? You can run everything in detached mode with docker compose up -d.

from airflow.

sorenarchibald avatar sorenarchibald commented on July 22, 2024

Thanks Ryan. I've worked around this issue by starting the scheduler last. I'm actually using AWS ECS and only made the compose file to debug the issue. I thought I would submit a bug as it did waste a couple hours of my time... and I thought it was time I try and get more involved with an open source project. Again: thanks for your help.

from airflow.

Taragolis avatar Taragolis commented on July 22, 2024

Run Airflow services in daemon it is useful only on case if there is not possible for some reason to use external daemons (e.g. systemd) or containers.

In case of containers it's best practice to separate areas of concern by using one service per container.
It is much easier to maintain and restart due to the failure, e.g. if webserver goes down you don't have to restarts scheduler and vice versa.

I'm actually using AWS ECS and only made the compose file to debug the issue.

Even if you use cloud based container service the principal pretty the same, 1 service = 1 task.

from airflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.