From 247ad46d1084ce6c4c9d432a76363dc5d59bb7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Mon, 22 Nov 2021 16:17:58 -0500 Subject: [PATCH] Update DDEV config to latest dependencies available for D9, latest DDEV config --- .ddev/config.yaml | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 374c38c..684e67c 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -1,28 +1,21 @@ name: geo -type: drupal8 +type: drupal9 docroot: web -php_version: "7.4" +php_version: "8.0" webserver_type: apache-fpm router_http_port: "80" router_https_port: "443" xdebug_enabled: false additional_hostnames: [] additional_fqdns: [] -mariadb_version: "10.3" +mariadb_version: "10.5" mysql_version: "" +nfs_mount_enabled: false +mutagen_enabled: false use_dns_when_possible: false composer_version: "2" web_environment: [] - -# This config.yaml was created with ddev version v1.17.1 -# webimage: drud/ddev-webserver:v1.17.1 -# dbimage: drud/ddev-dbserver-mariadb-10.3:v1.17.0 -# dbaimage: phpmyadmin:5 -# However we do not recommend explicitly wiring these images into the -# config.yaml as they may break future versions of ddev. -# You can update this config.yaml using 'ddev config'. - # Key features of ddev's config.yaml: # name: # Name of the project, automatically provides @@ -56,6 +49,11 @@ web_environment: [] # "ddev xdebug" to enable xdebug and "ddev xdebug off" to disable it work better, # as leaving xdebug enabled all the time is a big performance hit. +# xhprof_enabled: false # Set to true to enable xhprof and "ddev start" or "ddev restart" +# Note that for most people the commands +# "ddev xhprof" to enable xhprof and "ddev xhprof off" to disable it work better, +# as leaving xhprof enabled all the time is a big performance hit. + # webserver_type: nginx-fpm # or apache-fpm # timezone: Europe/Berlin @@ -97,12 +95,17 @@ web_environment: [] # Currently only these containers are supported. Some containers can also be # omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit # the "db" container, several standard features of ddev that access the -# database container will be unusable. +# database container will be unusable. In the global configuration it is also +# possible to omit ddev-router, but not here. # nfs_mount_enabled: false # Great performance improvement but requires host configuration first. # See https://ddev.readthedocs.io/en/stable/users/performance/#using-nfs-to-mount-the-project-into-the-container +# mutagen_enabled: false +# Experimental performance improvement using mutagen asynchronous updates. +# See https://ddev.readthedocs.io/en/latest/users/performance/#using-mutagen + # fail_on_hook_fail: False # Decide whether 'ddev start' should be interrupted by a failing hook @@ -126,10 +129,18 @@ web_environment: [] # phpmyadmin_https_port: "8037" # The PHPMyAdmin ports can be changed from the default 8036 and 8037 +# host_phpmyadmin_port: "8036" +# The phpmyadmin (dba) port is not normally bound on the host at all, instead being routed +# through ddev-router, but it can be specified and bound. + # mailhog_port: "8025" # mailhog_https_port: "8026" # The MailHog ports can be changed from the default 8025 and 8026 +# host_mailhog_port: "8025" +# The mailhog port is not normally bound on the host at all, instead being routed +# through ddev-router, but it can be bound directly to localhost if specified here. + # webimage_extra_packages: [php7.4-tidy, php-bcmath] # Extra Debian packages that are needed in the webimage can be added here @@ -158,7 +169,7 @@ web_environment: [] # In this case the user must provide all such settings. # You can inject environment variables into the web container with: -# web_environment: +# web_environment: # - SOMEENV=somevalue # - SOMEOTHERENV=someothervalue @@ -168,8 +179,12 @@ web_environment: [] # This is to enable experimentation with alternate file mounting strategies. # For advanced users only! -# provider: default # Currently "default", "pantheon", "ddev-live" -# +# bind_all_interfaces: false +# If true, host ports will be bound on all network interfaces, +# not just the localhost interface. This means that ports +# will be available on the local network if the host firewall +# allows it. + # Many ddev commands can be extended to run tasks before or after the # ddev command is executed, for example "post-start", "post-import-db", # "pre-composer", "post-composer"