.platform.app.yaml 976 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. name: app
  2. type: php:7.4
  3. build:
  4. flavor: none
  5. dependencies:
  6. php:
  7. composer/composer: '^2'
  8. hooks:
  9. build: |
  10. set -e
  11. ./build-psh.sh
  12. deploy: |
  13. set -e
  14. relationships:
  15. database: "db:shlinkdb"
  16. # The size of the persistent disk of the application (in MB).
  17. disk: 2048
  18. # The mounts that will be performed when the package is deployed.
  19. mounts:
  20. "/build/data/log":
  21. source: local
  22. source_path: "log"
  23. "/build/data/cache":
  24. source: local
  25. source_path: "cache"
  26. "/build/data/locks":
  27. source: local
  28. source_path: "locks"
  29. "/build/data/proxies":
  30. source: local
  31. source_path: "proxies"
  32. "/build/config/params":
  33. source: local
  34. source_path: "config_params"
  35. web:
  36. locations:
  37. "/":
  38. root: "build/public"
  39. passthru: "/index.php"
  40. crons:
  41. processIPs:
  42. spec: '0 * * * *'
  43. cmd: './build/bin/cli visit:locate -q'