Skip to content

Instantly share code, notes, and snippets.

@JosephSalisbury
Last active January 4, 2016 14:01
Show Gist options
  • Save JosephSalisbury/72c9737794817c226798 to your computer and use it in GitHub Desktop.
Save JosephSalisbury/72c9737794817c226798 to your computer and use it in GitHub Desktop.
$ cat format.json
{
  "units": {
    "pre-sidekick": {
      "type": "ambassador",
      "port": 80
    },
    "user-app": {
      "name": "name",
        "type": "service|mount|timer",
        "systemd": {
          "unit": {
            "description": "description"
          },
          "service": {
            "type": "simple|forking|oneshot|notify"
          },
          "fleet": {
            "global": true
          }
        }
      }
    },
    "post-sidekick": {
      "type": "lb-register",
      "port": 80,
      "lb-visibility": "public"
    }
  },
  "dependencies": {
    "user-app": {
      "wants": ["pre-sidekick"]
    },
    "post-sidekick": {
      "wants": ["user-app"]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment