1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

add luigi

This commit is contained in:
kev 2017-05-24 15:26:14 +08:00
parent a08c2712ae
commit 5d1a090eaa
4 changed files with 43 additions and 0 deletions

View File

@ -67,6 +67,7 @@ A collection of delicious docker recipes.
- [x] httpbin :+1:
- [x] hubot :octocat:
- [x] influxdb
- [x] luigi
- [x] mariadb
- [x] mariadb-arm
- [x] monit

26
luigi/Dockerfile Normal file
View File

@ -0,0 +1,26 @@
#
# Dockerfile for luigi
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
ENV LUIGI_HOME_DIR=/opt/luigi
ENV LUIGI_CONFIG_PATH=/opt/luigi/etc/luigi.cfg
ENV LUIGI_LOG_DIR=/opt/luigi/log
ENV LUIGI_STATE_PATH=/opt/luigi/var/state.pickle
WORKDIR $LUIGI_HOME_DIR
RUN set -xe \
&& apk add --no-cache python3 \
&& pip3 install luigi \
&& mkdir -p etc log run var \
&& touch $LUIGI_CONFIG_PATH
VOLUME $LUIGI_HOME_DIR
EXPOSE 8082
CMD luigid --logdir $LUIGI_LOG_DIR \
--state-path $LUIGI_STATE_PATH

11
luigi/README.md Normal file
View File

@ -0,0 +1,11 @@
luigi
=====
![](https://raw.githubusercontent.com/spotify/luigi/master/doc/luigi.png)
[Luigi][1] is a Python (2.7, 3.3, 3.4, 3.5) package that helps you build
complex pipelines of batch jobs. It handles dependency resolution, workflow
management, visualization, handling failures, command line integration, and
much more.
[1]: https://github.com/spotify/luigi

5
luigi/docker-compose.yml Normal file
View File

@ -0,0 +1,5 @@
luigi:
image: vimagick/luigi
ports:
- "8082:8082"
restart: always