From e24403949c625e7c7aa9d1e299f8eef7f8f29d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 26 Jan 2026 08:24:19 +0100 Subject: [PATCH] chore: update database and php versions to match prod environment --- .ddev/config.yaml | 58 ++++++++++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 23 deletions(-) diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 9b428cf..fc02de4 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -1,14 +1,14 @@ name: myep-next type: php docroot: public -php_version: "8.2" +php_version: "8.3" webserver_type: apache-fpm xdebug_enabled: false additional_hostnames: [] additional_fqdns: [] database: - type: mariadb - version: "10.11" + type: mysql + version: "8.4" use_dns_when_possible: true composer_version: "2" web_environment: [] @@ -18,28 +18,31 @@ corepack_enable: false # name: # Name of the project, automatically provides # http://projectname.ddev.site and https://projectname.ddev.site +# If the name is omitted, the project will take the name of the enclosing directory, +# which is useful if you want to have a copy of the project side by side with this one. -# type: # backdrop, craftcms, django4, drupal, drupal6, drupal7, laravel, magento, magento2, php, python, shopware6, silverstripe, typo3, wordpress -# See https://ddev.readthedocs.io/en/stable/users/quickstart/ for more +# type: # backdrop, cakephp, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, generic, laravel, magento, magento2, php, shopware6, silverstripe, symfony, typo3, wordpress +# See https://docs.ddev.com/en/stable/users/quickstart/ for more # information on the different project types -# "drupal" covers recent Drupal 8+ # docroot: # Relative path to the directory containing index.php. -# php_version: "8.2" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" +# php_version: "8.3" # PHP version to use, "5.6" through "8.5" # You can explicitly specify the webimage but this # is not recommended, as the images are often closely tied to DDEV's' behavior, # so this can break upgrades. -# webimage: # nginx/php docker image. +# webimage: +# It’s unusual to change this option, and we don’t recommend it without Docker experience and a good reason. +# Typically, this means additions to the existing web image using a .ddev/web-build/Dockerfile.* # database: # type: # mysql, mariadb, postgres # version: # database version, like "10.11" or "8.0" -# MariaDB versions can be 5.5-10.8, 10.11, and 11.4. -# MySQL versions can be 5.5-8.0. -# PostgreSQL versions can be 9-17. +# MariaDB versions can be 5.5-10.8, 10.11, 11.4, 11.8 +# MySQL versions can be 5.5-8.0, 8.4 +# PostgreSQL versions can be 9-18 # router_http_port: # Port to be used for http (defaults to global configuration, usually 80) # router_https_port: # Port for https (defaults to global configuration, usually 443) @@ -49,12 +52,21 @@ corepack_enable: false # "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. +# xhgui_http_port: "8143" +# xhgui_https_port: "8142" +# The XHGui ports can be changed from the default 8143 and 8142 +# Very rarely used -# webserver_type: nginx-fpm, apache-fpm, or nginx-gunicorn +# host_xhgui_port: "8142" +# Can be used to change the host binding port of the XHGui +# application. Rarely used; only when port conflict and +# bind_all_ports is used (normally with router disabled) + +# xhprof_mode: [prepend|xhgui|global] +# Set to "xhgui" to enable XHGui features +# "xhgui" will become default in a future major release + +# webserver_type: nginx-fpm, apache-fpm, generic # timezone: Europe/Berlin # If timezone is unset, DDEV will attempt to derive it from the host system timezone @@ -80,9 +92,9 @@ corepack_enable: false # Alternatively, an explicit Composer version may be specified, for example "2.2.18". # To reinstall Composer after the image was built, run "ddev debug rebuild". -# nodejs_version: "20" +# nodejs_version: "22" # change from the default system Node.js version to any other version. -# See https://ddev.readthedocs.io/en/stable/users/configuration/config/#nodejs_version for more information +# See https://docs.ddev.com/en/stable/users/configuration/config/#nodejs_version for more information # and https://www.npmjs.com/package/n#specifying-nodejs-versions for the full documentation, # Note that using of 'ddev nvm' is discouraged because "nodejs_version" is much easier to use, # can specify any version, and is more robust than using 'nvm'. @@ -118,7 +130,7 @@ corepack_enable: false # ddev_version_constraint: "" # Example: -# ddev_version_constraint: ">= 1.22.4" +# ddev_version_constraint: ">= 1.24.8" # This will enforce that the running ddev version is within this constraint. # See https://github.com/Masterminds/semver#checking-version-constraints for # supported constraint formats @@ -147,8 +159,8 @@ corepack_enable: false # - "mutagen": enables Mutagen for this project. # - "nfs": enables NFS for this project. # -# See https://ddev.readthedocs.io/en/stable/users/install/performance/#nfs -# See https://ddev.readthedocs.io/en/stable/users/install/performance/#mutagen +# See https://docs.ddev.com/en/stable/users/install/performance/#nfs +# See https://docs.ddev.com/en/stable/users/install/performance/#mutagen # fail_on_hook_fail: False # Decide whether 'ddev start' should be interrupted by a failing hook @@ -197,7 +209,7 @@ corepack_enable: false # ngrok_args: --basic-auth username:pass1234 # Provide extra flags to the "ngrok http" command, see -# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h" +# https://ngrok.com/docs/agent/config/v3/#agent-configuration or run "ngrok http -h" # disable_settings_management: false # If true, DDEV will not create CMS-specific settings files like @@ -275,7 +287,7 @@ corepack_enable: false # 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" -# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more +# See https://docs.ddev.com/en/stable/users/extend/custom-commands/ for more # information on the commands that can be extended and the tasks you can define # for them. Example: #hooks: