Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

266 rader
10 KiB

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