app.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "Medusa Server",
  3. "description": "A Medusa Server deployed with Redis and Postgres Add-ons",
  4. "repository": "https://github.com/medusajs/medusa-starter-default",
  5. "logo": "https://i.imgur.com/uQX4otM.png",
  6. "keywords": ["node", "express", "ecommerce", "medusa", "ecommerce platform"],
  7. "success_url": "/store/products",
  8. "addons": [
  9. {
  10. "plan": "stackhero-redis",
  11. "as": "REDIS"
  12. },
  13. {
  14. "plan": "heroku-postgresql",
  15. "as": "DATABASE"
  16. }
  17. ],
  18. "env": {
  19. "JWT_SECRET": {
  20. "description": "Secret used to sign JWT tokens",
  21. "generator": "secret"
  22. },
  23. "COOKIE_SECRET": {
  24. "description": "Secret used to sign cookie SID",
  25. "generator": "secret"
  26. },
  27. "ADMIN_CORS": {
  28. "description": "URL of the Medusa admin",
  29. "required": false,
  30. "value": "http://localhost:7000,http://localhost:7001"
  31. },
  32. "STORE_CORS": {
  33. "description": "URL of the Medusa storefront",
  34. "required": false,
  35. "value": "http://localhost:8000"
  36. },
  37. "NPM_CONFIG_PRODUCTION": {
  38. "description": "Keep this false to allow the server to install babel for build",
  39. "required": true,
  40. "value": "false"
  41. }
  42. },
  43. "buildpacks": [
  44. {
  45. "url": "heroku/nodejs"
  46. }
  47. ]
  48. }