Skip to content

Instantly share code, notes, and snippets.

@matagus
Created March 13, 2017 13:17
Show Gist options
  • Save matagus/777c54c48c16aa9c629239f51d19ced5 to your computer and use it in GitHub Desktop.
Save matagus/777c54c48c16aa9c629239f51d19ced5 to your computer and use it in GitHub Desktop.

Revisions

  1. matagus created this gist Mar 13, 2017.
    1 change: 1 addition & 0 deletions .python-version
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    3.5.2
    1 change: 1 addition & 0 deletions Procfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    web: luigid --port=$PORT --logdir=$HOME
    29 changes: 29 additions & 0 deletions luigi.cfg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    [core]
    default-scheduler-host = <replace me>.herokuapp.com
    default-scheduler-port = 80
    email-prefix = <replace me>
    email-sender = <replace me>
    email-type = html
    error-email = <replace me>
    log_level = INFO
    max-reschedules = 3
    max-shown-tasks = 1000
    parallel-scheduling = true
    retry-external-tasks = true
    smtp_host = <replace me>
    smtp_login = <replace me>
    smtp_password = <replace me>
    worker-keep-alive = true
    worker-ping-interval = 5
    worker-wait-interval = 5

    [scheduler]
    record_task_history = false
    state-path = /tmp/luigid-state.pickle
    retry-delay = 60

    [email]
    type = ses

    [task_history]
    db_connection = <replace me. use a database uri>
    1 change: 1 addition & 0 deletions requirements.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    luigi==2.5.0