Giter VIP home page Giter VIP logo

docker-luigi's Introduction

Luigi on Docker

In addition to supporting the sqlite task history backend, this container includes all of the dependencies to use the mysql and postgresql backends.

Luigi death stare

Versions

All available images

alpine

Uses pip to install luigi and dependencies

  • axiom/docker-luigi:latest-alpine (2.8.13)
  • axiom/docker-luigi:{version}-alpine

baseimage (ubuntu xenial)

Uses conda to install luigi and dependencies

  • axiom/docker-luigi:latest (2.8.13)
  • axiom/docker-luigi:{version}

Exposed Volumes

/etc/luigi/

Both luigi and luigid load their configuration from /etc/luigi/.

  • Configuration: /etc/luigi/luigi.conf
  • Logging: /etc/luigi/logging.conf

Mount a directory containing a luigi.conf and logging.conf file(s) to /etc/luigi to provide your own configuration(s).

docker run \
    -v /your/directory:/etc/luigi \
   axiom/docker-luigi

Or mount a single configuration file:

docker run \
    -v /your/directory/logging.conf:/etc/luigi/logging.conf \
   axiom/docker-luigi

The default can be found in the luigi.conf and logging.conf files in this repository. Be aware that these specify the paths to the logging configration and the state persistence database. If you change these values in luigi.conf the examples in this document will not work!

/luigi/state

Mount a volume at /luigi/state for the luigid state to be persisted between restarts. Example below uses a named docker volume to persist the state:

docker run \
    -v luigistate:/luigi/state \
    axiom/docker-luigi

Testing

docker-compose -f tests/docker-compose.yml up -d maria pgsql
# Wait ~10s for databases to start
docker-compose -f tests/docker-compose.yml build
docker-compose -f tests/docker-compose.yml up
docker-compose down

docker-luigi's People

Contributors

arobinski avatar daf avatar kwilcox avatar segfault88 avatar srstsavage avatar vuolter avatar yosoyjay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-luigi's Issues

Bump luigi version to 2.1.1

Hi

in requirements.txt you have luigi version >= 2.0.

Version 2.1.1 is out, could you bump it to that please.

Thanks

Yogi

Kubernetes Helm Chart

I really like the way you've set up the luigi docker container. I'd like to use it in my kubernetes helm chart. Would you be open for a PR to bring the total size down to 50meg?

helm/charts#3567

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.