Skip to content

Commit 038192a

Browse files
committed
[n/a] Add DDEV
1 parent 9528d3d commit 038192a

File tree

1 file changed

+263
-0
lines changed

1 file changed

+263
-0
lines changed

.ddev/config.yaml

+263
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
name: craft-videoembed
2+
type: php
3+
docroot: ""
4+
php_version: "8.1"
5+
webserver_type: nginx-fpm
6+
xdebug_enabled: false
7+
additional_hostnames: []
8+
additional_fqdns: []
9+
database:
10+
type: mariadb
11+
version: "10.4"
12+
use_dns_when_possible: true
13+
composer_version: "2"
14+
web_environment: []
15+
nodejs_version: "18"
16+
17+
# Key features of ddev's config.yaml:
18+
19+
# name: <projectname> # Name of the project, automatically provides
20+
# http://projectname.ddev.site and https://projectname.ddev.site
21+
22+
# type: <projecttype> # drupal6/7/8, backdrop, typo3, wordpress, php
23+
24+
# docroot: <relative_path> # Relative path to the directory containing index.php.
25+
26+
# 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"
27+
28+
# You can explicitly specify the webimage but this
29+
# is not recommended, as the images are often closely tied to ddev's' behavior,
30+
# so this can break upgrades.
31+
32+
# webimage: <docker_image> # nginx/php docker image.
33+
34+
# database:
35+
# type: <dbtype> # mysql, mariadb, postgres
36+
# version: <version> # database version, like "10.4" or "8.0"
37+
# mariadb versions can be 5.5-10.8 and 10.11, mysql versions can be 5.5-8.0
38+
# postgres versions can be 9-15.
39+
40+
# router_http_port: <port> # Port to be used for http (defaults to global configuration, usually 80)
41+
# router_https_port: <port> # Port for https (defaults to global configuration, usually 443)
42+
43+
# xdebug_enabled: false # Set to true to enable xdebug and "ddev start" or "ddev restart"
44+
# Note that for most people the commands
45+
# "ddev xdebug" to enable xdebug and "ddev xdebug off" to disable it work better,
46+
# as leaving xdebug enabled all the time is a big performance hit.
47+
48+
# xhprof_enabled: false # Set to true to enable xhprof and "ddev start" or "ddev restart"
49+
# Note that for most people the commands
50+
# "ddev xhprof" to enable xhprof and "ddev xhprof off" to disable it work better,
51+
# as leaving xhprof enabled all the time is a big performance hit.
52+
53+
# webserver_type: nginx-fpm, apache-fpm, or nginx-gunicorn
54+
55+
# timezone: Europe/Berlin
56+
# This is the timezone used in the containers and by PHP;
57+
# it can be set to any valid timezone,
58+
# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
59+
# For example Europe/Dublin or MST7MDT
60+
61+
# composer_root: <relative_path>
62+
# Relative path to the composer root directory from the project root. This is
63+
# the directory which contains the composer.json and where all Composer related
64+
# commands are executed.
65+
66+
# composer_version: "2"
67+
# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1
68+
# to use the latest major version available at the time your container is built.
69+
# It is also possible to use each other Composer version channel. This includes:
70+
# - 2.2 (latest Composer LTS version)
71+
# - stable
72+
# - preview
73+
# - snapshot
74+
# Alternatively, an explicit Composer version may be specified, for example "2.2.18".
75+
# To reinstall Composer after the image was built, run "ddev debug refresh".
76+
77+
# nodejs_version: "18"
78+
# change from the default system Node.js version to another supported version, like 14, 16, 18, 20.
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+
82+
# additional_hostnames:
83+
# - somename
84+
# - someothername
85+
# would provide http and https URLs for "somename.ddev.site"
86+
# and "someothername.ddev.site".
87+
88+
# additional_fqdns:
89+
# - example.com
90+
# - sub1.example.com
91+
# would provide http and https URLs for "example.com" and "sub1.example.com"
92+
# Please take care with this because it can cause great confusion.
93+
94+
# upload_dirs: "custom/upload/dir"
95+
#
96+
# upload_dirs:
97+
# - custom/upload/dir
98+
# - ../private
99+
#
100+
# would set the destination paths for ddev import-files to <docroot>/custom/upload/dir
101+
# When mutagen is enabled this path is bind-mounted so that all the files
102+
# in the upload_dirs don't have to be synced into mutagen.
103+
104+
# disable_upload_dirs_warning: false
105+
# If true, turns off the normal warning that says
106+
# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set"
107+
108+
# working_dir:
109+
# web: /var/www/html
110+
# db: /home
111+
# would set the default working directory for the web and db services.
112+
# These values specify the destination directory for ddev ssh and the
113+
# directory in which commands passed into ddev exec are run.
114+
115+
# omit_containers: [db, ddev-ssh-agent]
116+
# Currently only these containers are supported. Some containers can also be
117+
# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit
118+
# the "db" container, several standard features of ddev that access the
119+
# database container will be unusable. In the global configuration it is also
120+
# possible to omit ddev-router, but not here.
121+
122+
# performance_mode: "global"
123+
# DDEV offers performance optimization strategies to improve the filesystem
124+
# performance depending on your host system. Should be configured globally.
125+
#
126+
# If set, will override the global config. Possible values are:
127+
# - "global": uses the value from the global config.
128+
# - "none": disables performance optimization for this project.
129+
# - "mutagen": enables Mutagen for this project.
130+
# - "nfs": enables NFS for this project.
131+
#
132+
# See https://ddev.readthedocs.io/en/latest/users/install/performance/#nfs
133+
# See https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen
134+
135+
# fail_on_hook_fail: False
136+
# Decide whether 'ddev start' should be interrupted by a failing hook
137+
138+
# host_https_port: "59002"
139+
# The host port binding for https can be explicitly specified. It is
140+
# dynamic unless otherwise specified.
141+
# This is not used by most people, most people use the *router* instead
142+
# of the localhost port.
143+
144+
# host_webserver_port: "59001"
145+
# The host port binding for the ddev-webserver can be explicitly specified. It is
146+
# dynamic unless otherwise specified.
147+
# This is not used by most people, most people use the *router* instead
148+
# of the localhost port.
149+
150+
# host_db_port: "59002"
151+
# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic
152+
# unless explicitly specified.
153+
154+
# mailhog_port: "8025"
155+
# mailhog_https_port: "8026"
156+
# The MailHog ports can be changed from the default 8025 and 8026
157+
158+
# host_mailhog_port: "8025"
159+
# The mailhog port is not normally bound on the host at all, instead being routed
160+
# through ddev-router, but it can be bound directly to localhost if specified here.
161+
162+
# webimage_extra_packages: [php7.4-tidy, php-bcmath]
163+
# Extra Debian packages that are needed in the webimage can be added here
164+
165+
# dbimage_extra_packages: [telnet,netcat]
166+
# Extra Debian packages that are needed in the dbimage can be added here
167+
168+
# use_dns_when_possible: true
169+
# If the host has internet access and the domain configured can
170+
# successfully be looked up, DNS will be used for hostname resolution
171+
# instead of editing /etc/hosts
172+
# Defaults to true
173+
174+
# project_tld: ddev.site
175+
# The top-level domain used for project URLs
176+
# The default "ddev.site" allows DNS lookup via a wildcard
177+
# If you prefer you can change this to "ddev.local" to preserve
178+
# pre-v1.9 behavior.
179+
180+
# ngrok_args: --basic-auth username:pass1234
181+
# Provide extra flags to the "ngrok http" command, see
182+
# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h"
183+
184+
# disable_settings_management: false
185+
# If true, ddev will not create CMS-specific settings files like
186+
# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php
187+
# In this case the user must provide all such settings.
188+
189+
# You can inject environment variables into the web container with:
190+
# web_environment:
191+
# - SOMEENV=somevalue
192+
# - SOMEOTHERENV=someothervalue
193+
194+
# no_project_mount: false
195+
# (Experimental) If true, ddev will not mount the project into the web container;
196+
# the user is responsible for mounting it manually or via a script.
197+
# This is to enable experimentation with alternate file mounting strategies.
198+
# For advanced users only!
199+
200+
# bind_all_interfaces: false
201+
# If true, host ports will be bound on all network interfaces,
202+
# not just the localhost interface. This means that ports
203+
# will be available on the local network if the host firewall
204+
# allows it.
205+
206+
# default_container_timeout: 120
207+
# The default time that ddev waits for all containers to become ready can be increased from
208+
# the default 120. This helps in importing huge databases, for example.
209+
210+
#web_extra_exposed_ports:
211+
#- name: nodejs
212+
# container_port: 3000
213+
# http_port: 2999
214+
# https_port: 3000
215+
#- name: something
216+
# container_port: 4000
217+
# https_port: 4000
218+
# http_port: 3999
219+
# Allows a set of extra ports to be exposed via ddev-router
220+
# Fill in all three fields even if you don’t intend to use the https_port!
221+
# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start.
222+
#
223+
# The port behavior on the ddev-webserver must be arranged separately, for example
224+
# using web_extra_daemons.
225+
# For example, with a web app on port 3000 inside the container, this config would
226+
# expose that web app on https://<project>.ddev.site:9999 and http://<project>.ddev.site:9998
227+
# web_extra_exposed_ports:
228+
# - name: myapp
229+
# container_port: 3000
230+
# http_port: 9998
231+
# https_port: 9999
232+
233+
#web_extra_daemons:
234+
#- name: "http-1"
235+
# command: "/var/www/html/node_modules/.bin/http-server -p 3000"
236+
# directory: /var/www/html
237+
#- name: "http-2"
238+
# command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000"
239+
# directory: /var/www/html
240+
241+
# override_config: false
242+
# By default, config.*.yaml files are *merged* into the configuration
243+
# But this means that some things can't be overridden
244+
# For example, if you have 'nfs_mount_enabled: true'' you can't override it with a merge
245+
# and you can't erase existing hooks or all environment variables.
246+
# However, with "override_config: true" in a particular config.*.yaml file,
247+
# 'nfs_mount_enabled: false' can override the existing values, and
248+
# hooks:
249+
# post-start: []
250+
# or
251+
# web_environment: []
252+
# or
253+
# additional_hostnames: []
254+
# can have their intended affect. 'override_config' affects only behavior of the
255+
# config.*.yaml file it exists in.
256+
257+
# Many ddev commands can be extended to run tasks before or after the
258+
# ddev command is executed, for example "post-start", "post-import-db",
259+
# "pre-composer", "post-composer"
260+
# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more
261+
# information on the commands that can be extended and the tasks you can define
262+
# for them. Example:
263+
#hooks:

0 commit comments

Comments
 (0)