Skip to content

Instantly share code, notes, and snippets.

@Velrok
Created December 21, 2014 23:26
Show Gist options
  • Save Velrok/76ef26ed10bbf42ef321 to your computer and use it in GitHub Desktop.
Save Velrok/76ef26ed10bbf42ef321 to your computer and use it in GitHub Desktop.
Example swarm config file.
{
"app_name": "mb",
"services": [
{
"service_name": "mb-service",
"components": [
{
"component_name": "mb",
"image": "registry.giantswarm.io/velrok/mb:$version",
"ports": [ "3000/tcp" ],
"domains": { "mbk.gigantic.io": "3000" },
"env" : [
"APP_ENV=production",
"MONEY_BALANCE_DATABASE_URI=postgres://xxx"
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment