Skip to content

Commit e194f45

Browse files
committed
update to php 8.1
1 parent 8ba770d commit e194f45

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

.ddev/config.yaml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
name: ddev-gitpod
22
type: drupal9
33
docroot: web
4-
php_version: "8.0"
4+
php_version: "8.1"
55
webserver_type: nginx-fpm
66
router_http_port: "80"
77
router_https_port: "443"
88
xdebug_enabled: false
99
additional_hostnames: []
1010
additional_fqdns: []
11-
mariadb_version: "10.3"
12-
mysql_version: ""
11+
database:
12+
type: mariadb
13+
version: "10.3"
1314
nfs_mount_enabled: false
1415
mutagen_enabled: false
1516
use_dns_when_possible: true
1617
composer_version: ""
1718
web_environment: []
19+
nodejs_version: "16"
1820

1921
# Key features of ddev's config.yaml:
2022

@@ -27,19 +29,17 @@ web_environment: []
2729

2830
# php_version: "7.4" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"
2931

30-
# You can explicitly specify the webimage, dbimage, dbaimage lines but this
32+
# You can explicitly specify the webimage but this
3133
# is not recommended, as the images are often closely tied to ddev's' behavior,
3234
# so this can break upgrades.
3335

3436
# webimage: <docker_image> # nginx/php docker image.
35-
# dbimage: <docker_image> # mariadb docker image.
36-
# dbaimage: <docker_image>
3737

38-
# mariadb_version and mysql_version
39-
# ddev can use many versions of mariadb and mysql
40-
# However these directives are mutually exclusive
41-
# mariadb_version: 10.2
42-
# mysql_version: 8.0
38+
# database:
39+
# type: <dbtype> # mysql, mariadb
40+
# version: <version> # database version, like "10.3" or "8.0"
41+
# Note that mariadb_version or mysql_version from v1.18 and earlier
42+
# will automatically be converted to this notation with just a "ddev config --auto"
4343

4444
# router_http_port: <port> # Port to be used for http (defaults to port 80)
4545
# router_https_port: <port> # Port for https (defaults to 443)
@@ -62,13 +62,23 @@ web_environment: []
6262
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
6363
# For example Europe/Dublin or MST7MDT
6464

65+
# composer_root: <relative_path>
66+
# Relative path to the composer root directory from the project root. This is
67+
# the directory which contains the composer.json and where all Composer related
68+
# commands are executed.
69+
6570
# composer_version: "2"
6671
# if composer_version:"2" it will use the most recent composer v2
6772
# It can also be set to "1", to get most recent composer v1
6873
# or "" for the default v2 created at release time.
6974
# It can be set to any existing specific composer version.
7075
# After first project 'ddev start' this will not be updated until it changes
7176

77+
# nodejs_version: "16"
78+
# change from the default system Node.js version to another supported version, like 12, 14, 17.
79+
# Note that you can use 'ddev nvm' or nvm inside the web container to provide nearly any
80+
# Node.js version, including v6, etc.
81+
7282
# additional_hostnames:
7383
# - somename
7484
# - someothername
@@ -82,7 +92,7 @@ web_environment: []
8292
# Please take care with this because it can cause great confusion.
8393

8494
# upload_dir: custom/upload/dir
85-
# would set the destination path for ddev import-files to <docroot>/custom/upload/dir
95+
# would set the destination path for ddev import-files to <docroot>/custom/upload/dir
8696

8797
# working_dir:
8898
# web: /var/www/html

0 commit comments

Comments
 (0)