cfk
Version:
Finbox's PaaS
31 lines (30 loc) • 638 B
JSON
{
"id": "hello",
"cpus": 0.1,
"mem": 256.0,
"instances": 2,
"container": {
"type": "DOCKER",
"docker": {
"image": "bdentino/hello-cfk",
"forcePullImage": true,
"network": "BRIDGE",
"parameters": [
{ "key": "hostname", "value": "hello.weave.local" }
],
"portMappings": [
{ "containerPort": 80, "hostPort": 0, "servicePort": 0, "protocol": "tcp" }
]
}
},
"env": {
"SERVICE_TAGS": "http",
"SERVICE_NAME": "hello",
"PORT": "80",
"PORT0": "80"
},
"upgradeStrategy": {
"minimumHealthCapacity": 0.5,
"maximumOverCapacity": 0.5
}
}