Skip to content

Instantly share code, notes, and snippets.

@aschmidt75
Created December 19, 2014 12:27
Show Gist options
  • Save aschmidt75/611f48ff79f2abc03695 to your computer and use it in GitHub Desktop.
Save aschmidt75/611f48ff79f2abc03695 to your computer and use it in GitHub Desktop.
gs-pastie-example swarm.json
{
"app_name": "grafana-pastie-example",
"services": [
{
"service_name": "grafana-pastie",
"components": [
{
"component_name": "gs-rdb",
"image": "dockerfile/rethinkdb",
"ports": [ "8080/tcp", "28015/tcp", "29015/tcp" ]
},
{
"component_name": "gs-grafana",
"image": "kamon/grafana_graphite:latest",
"ports": [ "80/tcp", "8125/udp", "8126/tcp" ],
"domains": {
"aschmidt75-dashboard.gigantic.io": "80"
}
},
{
"component_name": "gs-pastie-app",
"image": "aschmidt75/gs-pastie-app",
"ports": [ "9292/tcp" ],
"domains": {
"aschmidt75-pastie.gigantic.io": "9292"
},
"dependencies": [
{
"name": "gs-rdb",
"alias": "rdb",
"port": 28015
},
{
"name": "gs-grafana",
"alias": "statsd",
"port": 8126
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment