Skip to content

szyn/docker-digdag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker digdag

Tags Docker Build Status Docker Pulls

Overview

Docker image for (Dockernize) digdag.
digdag is a workflow engine.
If you want to know about digdag more, please read the Official Document.

Feature

  • Easy to use :)
  • Can use py> rb> Operators

Requirements

  • Docker for Mac / Windows

Usage

Getting started

$ mkdir /path/to/your/project
$ cd /path/to/your/project

### Create a new workflow project
$ docker run -it --rm -v `pwd`:/src szyn/docker-digdag:latest init -t ruby hello

$ cd hello
$ docker run -it --rm -v `pwd`:/src szyn/docker-digdag:latest run -a hello.dig

Runs workflow

$ docker run -it --rm -v `pwd`:/src szyn/docker-digdag:latest run <workflow.dig> [+task] [options...]

e.g.
$ docker run -it --rm -v `pwd`:/src szyn/docker-digdag:latest run -a workflow.dig

Runs server mode

If you want to try server mode, you can do this :)

$ docker run -itd -p 65432:65432 --rm -v `pwd`:/src --name docker-digdag szyn/docker-digdag:latest server -m -b 0.0.0.0

### If you want to operate server
$ docker exec -it docker-digdag bash

You can also access to the Web UI!
Please open following address.
http://localhost:65432