diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 0d979b24..9f6ba049 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -1,9 +1,8 @@ +name: ep-reisen type: typo3 docroot: public php_version: "7.4" webserver_type: nginx-fpm -router_http_port: "80" -router_https_port: "443" xdebug_enabled: false additional_hostnames: - ep-events @@ -16,36 +15,57 @@ additional_hostnames: additional_fqdns: [] database: type: mariadb - version: "10.2" + version: "11.4" +hooks: + post-start: + - exec: .ddev/claude-code/install.sh + - exec: .ddev/codex-cli/install.sh +webimage_extra_packages: [ripgrep, bubblewrap, socat] use_dns_when_possible: true timezone: Europe/Berlin composer_version: "2" web_environment: - TYPO3_CONTEXT=Development nodejs_version: "18" +corepack_enable: false # Key features of DDEV's config.yaml: # 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: # drupal6/7/8, backdrop, typo3, wordpress, php +# type: # asterios, backdrop, cakephp, codeigniter, craftcms, drupal, drupal6, drupal7, drupal8, drupal9, drupal10, drupal11, drupal12, generic, joomla, laravel, magento, magento2, maho, modx, php, shopware6, silverstripe, symfony, typo3, wordpress, wp-bedrock +# See https://docs.ddev.com/en/stable/users/quickstart/ for more +# information on the different project types # docroot: # Relative path to the directory containing index.php. -# 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" +# php_version: "8.4" # 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, +# 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.4" or "8.0" -# MariaDB versions can be 5.5-10.8 and 10.11, MySQL versions can be 5.5-8.0 -# PostgreSQL versions can be 9-16. +# version: # database version, like "10.11" or "8.0" +# MariaDB versions can be 5.5-10.8, 10.11, 11.4, 11.8, 12.3 +# MySQL versions can be 5.5-8.0, 8.4, 9.7 +# PostgreSQL versions can be 9-18 + +# You can explicitly specify the dbimage but this +# is not recommended, as the images are often closely tied to DDEV's behavior, +# so this can break upgrades. + +# dbimage: +# 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 db image using a .ddev/db-build/Dockerfile.* # 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) @@ -55,14 +75,24 @@ nodejs_version: "18" # "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] +# Default is "xhgui" + +# 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 +# using the $TZ environment variable or the /etc/localtime symlink. # This is the timezone used in the containers and by PHP; # it can be set to any valid timezone, # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones @@ -74,22 +104,27 @@ nodejs_version: "18" # commands are executed. # composer_version: "2" -# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1 +# You can set it to "" or "2" (default) for Composer v2 # to use the latest major version available at the time your container is built. -# It is also possible to use each other Composer version channel. This includes: +# It is also possible to use any other Composer version channel. This includes: # - 2.2 (latest Composer LTS version) # - stable # - preview # - snapshot # Alternatively, an explicit Composer version may be specified, for example "2.2.18". -# To reinstall Composer after the image was built, run "ddev debug refresh". +# To reinstall Composer after the image was built, run "ddev utility rebuild". -# nodejs_version: "18" -# change from the default system Node.js version to another supported version, like 16, 18, 20. -# Note that you can use 'ddev nvm' or nvm inside the web container to provide nearly any -# Node.js version, including v6, etc. -# You only need to configure this if you are not using nvm and you want to use a major -# version that is not the default. +# nodejs_root: +# Relative path to the directory containing the Node.js version file from the +# project root. Only used with "nodejs_version: auto" or "nodejs_version: engine". + +# nodejs_version: "24" +# change from the default system Node.js version to any other version. +# 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. + +# corepack_enable: false +# Change to 'true' to 'corepack enable' and gain access to latest versions of yarn/pnpm # additional_hostnames: # - somename @@ -119,7 +154,7 @@ nodejs_version: "18" # 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 @@ -146,10 +181,8 @@ nodejs_version: "18" # - "global": uses the value from the global config. # - "none": disables performance optimization for this project. # - "mutagen": enables Mutagen for this project. -# - "nfs": enables NFS for this project. # -# See https://ddev.readthedocs.io/en/latest/users/install/performance/#nfs -# See https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen +# 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 @@ -178,10 +211,10 @@ nodejs_version: "18" # The mailpit 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] +# webimage_extra_packages: ['php${DDEV_PHP_VERSION}-tidy', 'php${DDEV_PHP_VERSION}-yac'] # Extra Debian packages that are needed in the webimage can be added here -# dbimage_extra_packages: [telnet,netcat] +# dbimage_extra_packages: [netcat, telnet, sudo] # Extra Debian packages that are needed in the dbimage can be added here # use_dns_when_possible: true @@ -193,22 +226,25 @@ nodejs_version: "18" # project_tld: ddev.site # The top-level domain used for project URLs # The default "ddev.site" allows DNS lookup via a wildcard -# If you prefer you can change this to "ddev.local" to preserve -# pre-v1.9 behavior. -# 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" +# share_default_provider: ngrok +# The default share provider to use for "ddev share" +# Defaults to global configuration, usually "ngrok" +# Can be "ngrok" or "cloudflared" or the name of a custom provider from .ddev/share-providers/ + +# share_provider_args: --basic-auth username:pass1234 +# Provide extra flags to the share provider script +# See https://docs.ddev.com/en/stable/users/configuration/config/#share_provider_args # disable_settings_management: false # If true, DDEV will not create CMS-specific settings files like -# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php +# Drupal's settings.php/settings.ddev.php or TYPO3's additional.php # In this case the user must provide all such settings. # You can inject environment variables into the web container with: # web_environment: -# - SOMEENV=somevalue -# - SOMEOTHERENV=someothervalue +# - SOMEENV=somevalue +# - SOMEOTHERENV=someothervalue # no_project_mount: false # (Experimental) If true, DDEV will not mount the project into the web container; @@ -260,7 +296,7 @@ nodejs_version: "18" # override_config: false # By default, config.*.yaml files are *merged* into the configuration # But this means that some things can't be overridden -# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge +# For example, if you have 'use_dns_when_possible: true' you can't override it with a merge # and you can't erase existing hooks or all environment variables. # However, with "override_config: true" in a particular config.*.yaml file, # 'use_dns_when_possible: false' can override the existing values, and @@ -270,13 +306,13 @@ nodejs_version: "18" # web_environment: [] # or # additional_hostnames: [] -# can have their intended affect. 'override_config' affects only behavior of the +# can have their intended effect. 'override_config' affects only behavior of the # config.*.yaml file it exists in. # 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: