Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

279 строки
11 KiB

  1. name: matsen-tool-be
  2. type: php
  3. docroot: public
  4. php_version: "8.2"
  5. webserver_type: nginx-fpm
  6. router_http_port: "8080"
  7. router_https_port: "8443"
  8. xdebug_enabled: false
  9. additional_hostnames: []
  10. additional_fqdns: []
  11. database:
  12. type: mariadb
  13. version: "10.4"
  14. webimage_extra_packages: [php8.2-xdebug]
  15. use_dns_when_possible: true
  16. composer_version: "2"
  17. web_environment: []
  18. # Key features of DDEV's config.yaml:
  19. # name: <projectname> # Name of the project, automatically provides
  20. # http://projectname.ddev.site and https://projectname.ddev.site
  21. # type: <projecttype> # backdrop, craftcms, django4, drupal6/7/8/9/10, laravel, magento, magento2, php, python, shopware6, silverstripe, typo3, wordpress
  22. # See https://ddev.readthedocs.io/en/latest/users/quickstart/ for more
  23. # information on the different project types
  24. # docroot: <relative_path> # Relative path to the directory containing index.php.
  25. # php_version: "8.1" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"
  26. # You can explicitly specify the webimage but this
  27. # is not recommended, as the images are often closely tied to DDEV's' behavior,
  28. # so this can break upgrades.
  29. # webimage: <docker_image> # nginx/php docker image.
  30. # database:
  31. # type: <dbtype> # mysql, mariadb, postgres
  32. # version: <version> # database version, like "10.4" or "8.0"
  33. # MariaDB versions can be 5.5-10.8 and 10.11, MySQL versions can be 5.5-8.0
  34. # PostgreSQL versions can be 9-16.
  35. # router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
  36. # router_https_port: <port> # Port for https (defaults to global configuration, usually 443)
  37. # xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart"
  38. # Note that for most people the commands
  39. # "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better,
  40. # as leaving Xdebug enabled all the time is a big performance hit.
  41. # xhprof_enabled: false # Set to true to enable Xhprof and "ddev start" or "ddev restart"
  42. # Note that for most people the commands
  43. # "ddev xhprof" to enable Xhprof and "ddev xhprof off" to disable it work better,
  44. # as leaving Xhprof enabled all the time is a big performance hit.
  45. # webserver_type: nginx-fpm, apache-fpm, or nginx-gunicorn
  46. # timezone: Europe/Berlin
  47. # This is the timezone used in the containers and by PHP;
  48. # it can be set to any valid timezone,
  49. # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  50. # For example Europe/Dublin or MST7MDT
  51. # composer_root: <relative_path>
  52. # Relative path to the Composer root directory from the project root. This is
  53. # the directory which contains the composer.json and where all Composer related
  54. # commands are executed.
  55. # composer_version: "2"
  56. # You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1
  57. # to use the latest major version available at the time your container is built.
  58. # It is also possible to use each other Composer version channel. This includes:
  59. # - 2.2 (latest Composer LTS version)
  60. # - stable
  61. # - preview
  62. # - snapshot
  63. # Alternatively, an explicit Composer version may be specified, for example "2.2.18".
  64. # To reinstall Composer after the image was built, run "ddev debug refresh".
  65. # nodejs_version: "18"
  66. # change from the default system Node.js version to any other version.
  67. # Numeric version numbers can be complete (i.e. 18.15.0) or
  68. # incomplete (18, 17.2, 16). 'lts' and 'latest' can be used as well along with
  69. # other named releases.
  70. # see https://www.npmjs.com/package/n#specifying-nodejs-versions
  71. # Note that you can continue using 'ddev nvm' or nvm inside the web container
  72. # to change the project's installed node version if you need to.
  73. # additional_hostnames:
  74. # - somename
  75. # - someothername
  76. # would provide http and https URLs for "somename.ddev.site"
  77. # and "someothername.ddev.site".
  78. # additional_fqdns:
  79. # - example.com
  80. # - sub1.example.com
  81. # would provide http and https URLs for "example.com" and "sub1.example.com"
  82. # Please take care with this because it can cause great confusion.
  83. # upload_dirs: "custom/upload/dir"
  84. #
  85. # upload_dirs:
  86. # - custom/upload/dir
  87. # - ../private
  88. #
  89. # would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
  90. # When Mutagen is enabled this path is bind-mounted so that all the files
  91. # in the upload_dirs don't have to be synced into Mutagen.
  92. # disable_upload_dirs_warning: false
  93. # If true, turns off the normal warning that says
  94. # "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"
  95. # ddev_version_constraint: ""
  96. # Example:
  97. # ddev_version_constraint: ">= 1.22.4"
  98. # This will enforce that the running ddev version is within this constraint.
  99. # See https://github.com/Masterminds/semver#checking-version-constraints for
  100. # supported constraint formats
  101. # working_dir:
  102. # web: /var/www/html
  103. # db: /home
  104. # would set the default working directory for the web and db services.
  105. # These values specify the destination directory for ddev ssh and the
  106. # directory in which commands passed into ddev exec are run.
  107. # omit_containers: [db, ddev-ssh-agent]
  108. # Currently only these containers are supported. Some containers can also be
  109. # omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
  110. # the "db" container, several standard features of DDEV that access the
  111. # database container will be unusable. In the global configuration it is also
  112. # possible to omit ddev-router, but not here.
  113. # performance_mode: "global"
  114. # DDEV offers performance optimization strategies to improve the filesystem
  115. # performance depending on your host system. Should be configured globally.
  116. #
  117. # If set, will override the global config. Possible values are:
  118. # - "global": uses the value from the global config.
  119. # - "none": disables performance optimization for this project.
  120. # - "mutagen": enables Mutagen for this project.
  121. # - "nfs": enables NFS for this project.
  122. #
  123. # See https://ddev.readthedocs.io/en/latest/users/install/performance/#nfs
  124. # See https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen
  125. # fail_on_hook_fail: False
  126. # Decide whether 'ddev start' should be interrupted by a failing hook
  127. # host_https_port: "59002"
  128. # The host port binding for https can be explicitly specified. It is
  129. # dynamic unless otherwise specified.
  130. # This is not used by most people, most people use the *router* instead
  131. # of the localhost port.
  132. # host_webserver_port: "59001"
  133. # The host port binding for the ddev-webserver can be explicitly specified. It is
  134. # dynamic unless otherwise specified.
  135. # This is not used by most people, most people use the *router* instead
  136. # of the localhost port.
  137. # host_db_port: "59002"
  138. # The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
  139. # unless explicitly specified.
  140. # mailpit_http_port: "8025"
  141. # mailpit_https_port: "8026"
  142. # The Mailpit ports can be changed from the default 8025 and 8026
  143. # host_mailpit_port: "8025"
  144. # The mailpit port is not normally bound on the host at all, instead being routed
  145. # through ddev-router, but it can be bound directly to localhost if specified here.
  146. # webimage_extra_packages: [php7.4-tidy, php-bcmath]
  147. # Extra Debian packages that are needed in the webimage can be added here
  148. # dbimage_extra_packages: [telnet,netcat]
  149. # Extra Debian packages that are needed in the dbimage can be added here
  150. # use_dns_when_possible: true
  151. # If the host has internet access and the domain configured can
  152. # successfully be looked up, DNS will be used for hostname resolution
  153. # instead of editing /etc/hosts
  154. # Defaults to true
  155. # project_tld: ddev.site
  156. # The top-level domain used for project URLs
  157. # The default "ddev.site" allows DNS lookup via a wildcard
  158. # If you prefer you can change this to "ddev.local" to preserve
  159. # pre-v1.9 behavior.
  160. # ngrok_args: --basic-auth username:pass1234
  161. # Provide extra flags to the "ngrok http" command, see
  162. # https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h"
  163. # disable_settings_management: false
  164. # If true, DDEV will not create CMS-specific settings files like
  165. # Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php
  166. # In this case the user must provide all such settings.
  167. # You can inject environment variables into the web container with:
  168. # web_environment:
  169. # - SOMEENV=somevalue
  170. # - SOMEOTHERENV=someothervalue
  171. # no_project_mount: false
  172. # (Experimental) If true, DDEV will not mount the project into the web container;
  173. # the user is responsible for mounting it manually or via a script.
  174. # This is to enable experimentation with alternate file mounting strategies.
  175. # For advanced users only!
  176. # bind_all_interfaces: false
  177. # If true, host ports will be bound on all network interfaces,
  178. # not the localhost interface only. This means that ports
  179. # will be available on the local network if the host firewall
  180. # allows it.
  181. # default_container_timeout: 120
  182. # The default time that DDEV waits for all containers to become ready can be increased from
  183. # the default 120. This helps in importing huge databases, for example.
  184. #web_extra_exposed_ports:
  185. #- name: nodejs
  186. # container_port: 3000
  187. # http_port: 2999
  188. # https_port: 3000
  189. #- name: something
  190. # container_port: 4000
  191. # https_port: 4000
  192. # http_port: 3999
  193. # Allows a set of extra ports to be exposed via ddev-router
  194. # Fill in all three fields even if you don’t intend to use the https_port!
  195. # If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
  196. #
  197. # The port behavior on the ddev-webserver must be arranged separately, for example
  198. # using web_extra_daemons.
  199. # For example, with a web app on port 3000 inside the container, this config would
  200. # expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
  201. # web_extra_exposed_ports:
  202. # - name: myapp
  203. # container_port: 3000
  204. # http_port: 9998
  205. # https_port: 9999
  206. #web_extra_daemons:
  207. #- name: "http-1"
  208. # command: "/var/www/html/node_modules/.bin/http-server -p 3000"
  209. # directory: /var/www/html
  210. #- name: "http-2"
  211. # command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000"
  212. # directory: /var/www/html
  213. # override_config: false
  214. # By default, config.*.yaml files are *merged* into the configuration
  215. # But this means that some things can't be overridden
  216. # For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge
  217. # and you can't erase existing hooks or all environment variables.
  218. # However, with "override_config: true" in a particular config.*.yaml file,
  219. # 'use_dns_when_possible: false' can override the existing values, and
  220. # hooks:
  221. # post-start: []
  222. # or
  223. # web_environment: []
  224. # or
  225. # additional_hostnames: []
  226. # can have their intended affect. 'override_config' affects only behavior of the
  227. # config.*.yaml file it exists in.
  228. # Many DDEV commands can be extended to run tasks before or after the
  229. # DDEV command is executed, for example "post-start", "post-import-db",
  230. # "pre-composer", "post-composer"
  231. # See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more
  232. # information on the commands that can be extended and the tasks you can define
  233. # for them. Example:
  234. #hooks: