Skip to content

Commit acd0de3

Browse files
committed
[TASK] Add ddev config.
1 parent a8cbe41 commit acd0de3

File tree

2 files changed

+162
-0
lines changed

2 files changed

+162
-0
lines changed

.ddev/config.yaml

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
name: deployer-instance
2+
type: php
3+
docroot: ""
4+
php_version: "7.3"
5+
webserver_type: nginx-fpm
6+
router_http_port: "80"
7+
router_https_port: "443"
8+
xdebug_enabled: false
9+
additional_hostnames: []
10+
additional_fqdns: []
11+
provider: default
12+
use_dns_when_possible: true
13+
14+
15+
# This config.yaml was created with ddev version v1.15.3
16+
# webimage: drud/ddev-webserver:v1.15.3
17+
# dbimage: drud/ddev-dbserver-mariadb-10.2:v1.15.1
18+
# dbaimage: phpmyadmin/phpmyadmin:5
19+
# However we do not recommend explicitly wiring these images into the
20+
# config.yaml as they may break future versions of ddev.
21+
# You can update this config.yaml using 'ddev config'.
22+
23+
# Key features of ddev's config.yaml:
24+
25+
# name: <projectname> # Name of the project, automatically provides
26+
# http://projectname.ddev.site and https://projectname.ddev.site
27+
28+
# type: <projecttype> # drupal6/7/8, backdrop, typo3, wordpress, php
29+
30+
# docroot: <relative_path> # Relative path to the directory containing index.php.
31+
32+
# php_version: "7.3" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4"
33+
34+
# You can explicitly specify the webimage, dbimage, dbaimage lines but this
35+
# is not recommended, as the images are often closely tied to ddev's' behavior,
36+
# so this can break upgrades.
37+
38+
# webimage: <docker_image> # nginx/php docker image.
39+
# dbimage: <docker_image> # mariadb docker image.
40+
# dbaimage: <docker_image>
41+
42+
# mariadb_version and mysql_version
43+
# ddev can use many versions of mariadb and mysql
44+
# However these directives are mutually exclusive
45+
# mariadb_version: 10.2
46+
# mysql_version: 8.0
47+
48+
# router_http_port: <port> # Port to be used for http (defaults to port 80)
49+
# router_https_port: <port> # Port for https (defaults to 443)
50+
51+
# xdebug_enabled: false # Set to true to enable xdebug and "ddev start" or "ddev restart"
52+
# Note that for most people the commands
53+
# "ddev exec enable_xdebug" and "ddev exec disable_xdebug" work better,
54+
# as leaving xdebug enabled all the time is a big performance hit.
55+
56+
# webserver_type: nginx-fpm # Can be set to apache-fpm or apache-cgi as well
57+
58+
# timezone: Europe/Berlin
59+
# This is the timezone used in the containers and by PHP;
60+
# it can be set to any valid timezone,
61+
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
62+
# For example Europe/Dublin or MST7MDT
63+
64+
# additional_hostnames:
65+
# - somename
66+
# - someothername
67+
# would provide http and https URLs for "somename.ddev.site"
68+
# and "someothername.ddev.site".
69+
70+
# additional_fqdns:
71+
# - example.com
72+
# - sub1.example.com
73+
# would provide http and https URLs for "example.com" and "sub1.example.com"
74+
# Please take care with this because it can cause great confusion.
75+
76+
# upload_dir: custom/upload/dir
77+
# would set the destination path for ddev import-files to custom/upload/dir.
78+
79+
# working_dir:
80+
# web: /var/www/html
81+
# db: /home
82+
# would set the default working directory for the web and db services.
83+
# These values specify the destination directory for ddev ssh and the
84+
# directory in which commands passed into ddev exec are run.
85+
86+
# omit_containers: [db, dba, ddev-ssh-agent]
87+
# Currently only these containers are supported. Some containers can also be
88+
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
89+
# the "db" container, several standard features of ddev that access the
90+
# database container will be unusable.
91+
92+
# nfs_mount_enabled: false
93+
# Great performance improvement but requires host configuration first.
94+
# See https://ddev.readthedocs.io/en/stable/users/performance/#using-nfs-to-mount-the-project-into-the-container
95+
96+
# host_https_port: "59002"
97+
# The host port binding for https can be explicitly specified. It is
98+
# dynamic unless otherwise specified.
99+
# This is not used by most people, most people use the *router* instead
100+
# of the localhost port.
101+
102+
# host_webserver_port: "59001"
103+
# The host port binding for the ddev-webserver can be explicitly specified. It is
104+
# dynamic unless otherwise specified.
105+
# This is not used by most people, most people use the *router* instead
106+
# of the localhost port.
107+
108+
# host_db_port: "59002"
109+
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
110+
# unless explicitly specified.
111+
112+
# phpmyadmin_port: "8036"
113+
# phpmyadmin_https_port: "8037"
114+
# The PHPMyAdmin ports can be changed from the default 8036 and 8037
115+
116+
# mailhog_port: "8025"
117+
# mailhog_https_port: "8026"
118+
# The MailHog ports can be changed from the default 8025 and 8026
119+
120+
# webimage_extra_packages: [php7.3-tidy, php-bcmath]
121+
# Extra Debian packages that are needed in the webimage can be added here
122+
123+
# dbimage_extra_packages: [telnet,netcat]
124+
# Extra Debian packages that are needed in the dbimage can be added here
125+
126+
# use_dns_when_possible: true
127+
# If the host has internet access and the domain configured can
128+
# successfully be looked up, DNS will be used for hostname resolution
129+
# instead of editing /etc/hosts
130+
# Defaults to true
131+
132+
# project_tld: ddev.site
133+
# The top-level domain used for project URLs
134+
# The default "ddev.site" allows DNS lookup via a wildcard
135+
# If you prefer you can change this to "ddev.local" to preserve
136+
# pre-v1.9 behavior.
137+
138+
# ngrok_args: --subdomain mysite --auth username:pass
139+
# Provide extra flags to the "ngrok http" command, see
140+
# https://ngrok.com/docs#http or run "ngrok http -h"
141+
142+
# disable_settings_management: false
143+
# If true, ddev will not create CMS-specific settings files like
144+
# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalSettings.php
145+
# In this case the user must provide all such settings.
146+
147+
# no_project_mount: false
148+
# (Experimental) If true, ddev will not mount the project into the web container;
149+
# the user is responsible for mounting it manually or via a script.
150+
# This is to enable experimentation with alternate file mounting strategies.
151+
# For advanced users only!
152+
153+
# provider: default # Currently either "default" or "pantheon"
154+
#
155+
# Many ddev commands can be extended to run tasks before or after the
156+
# ddev command is executed, for example "post-start", "post-import-db",
157+
# "pre-composer", "post-composer"
158+
# See https://ddev.readthedocs.io/en/stable/users/extending-commands/ for more
159+
# information on the commands that can be extended and the tasks you can define
160+
# for them. Example:
161+
#hooks:

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ master
88
a) [TASK] Add Env class with load() / get() methods.
99
b) [TASK][BREAKING] Remove class Instance with public method getLocalInstance. Use `(new Env())->get('INSTANCE');` instead.
1010
c) [TASK] Change getenv to $_ENV as default for symfony/dotenv.
11+
d) [TASK] Add ddev config.
1112

1213
3.2.0
1314
~~~~~

0 commit comments

Comments
 (0)