app_proto_postpatch.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "js-test-app1",
  3. "build": {
  4. "context": "./app",
  5. "method": "docker",
  6. "dockerfile": "Dockerfile",
  7. "builder": "heroku/buildpacks:20",
  8. "buildpacks": [
  9. "heroku/nodejs",
  10. "heroku/python"
  11. ]
  12. },
  13. "image": {
  14. "repository": "ghcr.io/porter-dev",
  15. "tag": "a-new-tag"
  16. },
  17. "envGroups": [
  18. {
  19. "name": "sponsor",
  20. "version": "9"
  21. },
  22. {
  23. "name": "2-230178",
  24. "version": "5"
  25. },
  26. {
  27. "name": "foo-group"
  28. }
  29. ],
  30. "helmOverrides": {},
  31. "serviceList": [
  32. {
  33. "run": "/cnb/lifecycle/launcher node index.js",
  34. "instances": 1,
  35. "port": 3000,
  36. "cpuCores": 0.19,
  37. "ramMegabytes": 400,
  38. "webConfig": {
  39. "autoscaling": {
  40. "minInstances": 1,
  41. "maxInstances": 10,
  42. "cpuThresholdPercent": 50,
  43. "memoryThresholdPercent": 50
  44. },
  45. "domains": [],
  46. "healthCheck": {
  47. "httpPath": "/healthz",
  48. "timeoutSeconds": 1,
  49. "initialDelaySeconds": 15
  50. },
  51. "private": false,
  52. "disableTls": false
  53. },
  54. "type": "SERVICE_TYPE_WEB",
  55. "smartOptimization": false,
  56. "runOptional": "/cnb/lifecycle/launcher node index.js",
  57. "name": "web",
  58. "instancesOptional": 1,
  59. "gpu": {},
  60. "terminationGracePeriodSeconds": 30
  61. }
  62. ]
  63. }