Skip to content

Instantly share code, notes, and snippets.

@matagus
Created March 13, 2017 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matagus/777c54c48c16aa9c629239f51d19ced5 to your computer and use it in GitHub Desktop.
Save matagus/777c54c48c16aa9c629239f51d19ced5 to your computer and use it in GitHub Desktop.
How to hostand run Spotify's Luigi scheduler on Heroku or Deis
[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>
web: luigid --port=$PORT --logdir=$HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment