Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Commit d821729

Browse files
Remove all history
0 parents  commit d821729

101 files changed

Lines changed: 63106 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: ddev-cron
2+
repository: ddev/ddev-cron
3+
version: 1.8.0
4+
install_date: "2024-10-08T09:54:41+02:00"
5+
project_files:
6+
- web-build/Dockerfile.ddev-cron
7+
- web-build/cron.conf
8+
- web-build/time.cron.example
9+
global_files: []
10+
removal_actions: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: elasticsearch
2+
repository: ddev/ddev-elasticsearch
3+
version: v0.3.2
4+
install_date: "2024-10-08T09:54:39+02:00"
5+
project_files:
6+
- elasticsearch/
7+
- docker-compose.elasticsearch.yaml
8+
global_files: []
9+
removal_actions: []
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: redis
2+
repository: ddev/ddev-redis
3+
version: v1.2.1
4+
install_date: "2024-10-08T09:54:40+02:00"
5+
project_files:
6+
- docker-compose.redis.yaml
7+
- redis/scripts/settings.ddev.redis.php
8+
- redis/scripts/setup-drupal-settings.sh
9+
- redis/redis.conf
10+
- commands/redis/redis-cli
11+
global_files: []
12+
removal_actions:
13+
- |
14+
#ddev-nodisplay
15+
#ddev-description:Remove redis settings for Drupal 9+ if applicable
16+
rm -f "${DDEV_APPROOT}/${DDEV_DOCROOT}/sites/default/settings.ddev.redis.php"

.ddev/commands/redis/redis-cli

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
#ddev-generated
3+
## Description: Run redis-cli inside the redis container
4+
## Usage: redis-cli [flags] [args]
5+
## Example: "ddev redis-cli KEYS *" or "ddev redis-cli INFO" or "ddev redis-cli --version"
6+
7+
redis-cli -p 6379 -h redis $@

.ddev/config.yaml

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

.ddev/docker-compose.rabbitmq.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: '3.6'
2+
services:
3+
rabbitmq:
4+
container_name: ddev-${DDEV_SITENAME}-rabbitmq
5+
hostname: ${DDEV_SITENAME}-rabbitmq
6+
image: "rabbitmq:3-management"
7+
environment:
8+
- RABBITMQ_ERLANG_COOKIE=SWQOKODSQALRPCLNMEQG
9+
- RABBITMQ_DEFAULT_USER=guest
10+
- RABBITMQ_DEFAULT_PASS=guest
11+
- RABBITMQ_DEFAULT_VHOST=/
12+
labels:
13+
com.ddev.site-name: ${DDEV_SITENAME}
14+
com.ddev.approot: $DDEV_APPROOT
15+
volumes:
16+
- "./rabbitmq-build/enabled_plugins:/etc/rabbitmq/enabled_plugins"
17+
- ".:/mnt/ddev_config"
18+
web:
19+
links:
20+
- rabbitmq:rabbitmq
21+
volumes:
22+
rabbitmq:

0 commit comments

Comments
 (0)