Skip to content

A Docker image for Metronome, the DC/OS job scheduler

License

Notifications You must be signed in to change notification settings

mesoshq/metronome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metronome

A Docker image (with build process) for dcos/metronome

Usage

You can pass all configuration properties via environment variables, but with _ instead of . (all lowercase). The properties can be found at src/main/scala/dcos/metronome/MetronomeConfig.scala.

Start with Marathon

{
  "id": "/metronome",
  "cpus": 1,
  "mem": 1024,
  "disk": 0,
  "instances": 1,
  "container": {
    "type": "DOCKER",
    "volumes": [],
    "docker": {
      "image": "mesoshq/metronome",
      "network": "HOST",
      "privileged": false,
      "parameters": [],
      "forcePullImage": true
    }
  },
  "env": {
    "metronome_mesos_master_url": "172.17.10.101:5050",
    "metronome_zk_url": "zk://172.17.10.101:2181/metronome"
  },
  "ports": [0],
  "healthChecks": [
    {
      "path": "/ping",
      "portIndex": 0,
      "protocol": "HTTP",
      "gracePeriodSeconds": 30,
      "intervalSeconds": 10,
      "timeoutSeconds": 3,
      "maxConsecutiveFailures": 1
    }
  ]
}

About

A Docker image for Metronome, the DC/OS job scheduler

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages