diff options
-rwxr-xr-x | .ddev/commands/web/phpunit | 7 | ||||
-rw-r--r-- | .ddev/config.yaml | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/.ddev/commands/web/phpunit b/.ddev/commands/web/phpunit new file mode 100755 index 0000000..90451f4 --- /dev/null +++ b/.ddev/commands/web/phpunit @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +## Description: Run phpunit in the ddev environment +## Usage: phpunit +## Example: ddev phpunit tests + +vendor/bin/phpunit "$@" diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 2d25e44..abf1f85 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -1,22 +1,16 @@ --- name: hubzilla type: php -docroot: "" +docroot: "core" php_version: "8.1" webserver_type: nginx-fpm router_http_port: "80" router_https_port: "443" -xdebug_enabled: false -additional_hostnames: [] -additional_fqdns: [] database: type: postgres version: "14" -nfs_mount_enabled: false -mutagen_enabled: false -use_dns_when_possible: true -composer_version: "2" -web_environment: [] +webimage_extra_packages: [php-gd, php-imagick] +working_dir: { web: '/var/www/html/core' } nodejs_version: "16" hooks: |