mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 05:48:42 +00:00
add luigi
This commit is contained in:
parent
a08c2712ae
commit
5d1a090eaa
@ -67,6 +67,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] httpbin :+1:
|
- [x] httpbin :+1:
|
||||||
- [x] hubot :octocat:
|
- [x] hubot :octocat:
|
||||||
- [x] influxdb
|
- [x] influxdb
|
||||||
|
- [x] luigi
|
||||||
- [x] mariadb
|
- [x] mariadb
|
||||||
- [x] mariadb-arm
|
- [x] mariadb-arm
|
||||||
- [x] monit
|
- [x] monit
|
||||||
|
26
luigi/Dockerfile
Normal file
26
luigi/Dockerfile
Normal 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
11
luigi/README.md
Normal 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
5
luigi/docker-compose.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
luigi:
|
||||||
|
image: vimagick/luigi
|
||||||
|
ports:
|
||||||
|
- "8082:8082"
|
||||||
|
restart: always
|
Loading…
Reference in New Issue
Block a user