Created
December 21, 2014 23:26
-
-
Save Velrok/76ef26ed10bbf42ef321 to your computer and use it in GitHub Desktop.
Example swarm config file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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