config.yaml 3.59 KB
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
APIVersion: v1.6.0
2
3
name: ter
type: typo3
4
5
docroot: public
php_version: "7.2"
Thomas Löffler's avatar
Thomas Löffler committed
6
webserver_type: nginx-fpm
Thomas Löffler's avatar
Thomas Löffler committed
7
dbimage: drud/ddev-dbserver:v1.6.0-10.1
8
9
router_http_port: "80"
router_https_port: "443"
10
11
xdebug_enabled: false
additional_hostnames: []
Thomas Löffler's avatar
Thomas Löffler committed
12
additional_fqdns: []
13
14
mariadb_version: "10.1"
webcache_enabled: false
Thomas Löffler's avatar
Thomas Löffler committed
15
nfs_mount_enabled: false
16
provider: default
17
18
hooks:
  post-start:
19
20
21
22
23
24
25
26
  - exec: cp private/typo3conf/AdditionalConfiguration.ddev.php private/typo3conf/AdditionalConfiguration.php
  - exec: composer install
  - exec: npm --prefix private/typo3conf/ext/t3olayout/Build install
  - exec: npm --prefix private/typo3conf/ext/t3olayout/Build run-script build
  - exec: vendor/bin/typo3cms install:generatepackagestates
  - exec: vendor/bin/typo3cms install:extensionsetupifpossible


Thomas Löffler's avatar
Thomas Löffler committed
27
28
29
30
31
# This config.yaml was created with ddev version v1.6.0
# webimage: drud/ddev-webserver:v1.6.0
# dbimage: drud/ddev-dbserver:v1.6.0-10.2
# dbaimage: drud/phpmyadmin:v1.6.0
# bgsyncimage: drud/ddev-bgsync:v1.6.0
32
33
34
35
36
37
# However we do not recommend explicitly wiring these images into the
# config.yaml as they may break future versions of ddev.
# You can update this config.yaml using 'ddev config'.

# Key features of ddev's config.yaml:

38
# name: <projectname> # Name of the project, automatically provides
39
40
41
42
43
44
#   http://projectname.ddev.local and https://projectname.ddev.local

# type: <projecttype>  # drupal6/7/8, backdrop, typo3, wordpress, php

# docroot: <relative_path> # Relative path to the directory containing index.php.

45
# php_version: "7.1"  # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3"
46

47
# You can explicitly specify the webimage, dbimage, dbaimage lines but this
48
49
50
# is not recommended, as the images are often closely tied to ddev's' behavior,
# so this can break upgrades.

51
52
# webimage: <docker_image>  # nginx/php docker image.
# dbimage: <docker_image>  # mariadb docker image.
53
# dbaimage: <docker_image>
54
# bgsyncimage: <docker_image>
55
56
57
58
59
60

# router_http_port: <port>  # Port to be used for http (defaults to port 80)
# router_https_port: <port> # Port for https (defaults to 443)

# xdebug_enabled: false  # Set to true to enable xdebug and "ddev start" or "ddev restart"

Thomas Löffler's avatar
Thomas Löffler committed
61
62
63
64
65
# webserver_type: nginx-fpm  # Can be set to apache-fpm or apache-cgi as well

# additional_hostnames:
#  - somename
#  - someothername
66
67
68
# would provide http and https URLs for "somename.ddev.local"
# and "someothername.ddev.local".

Thomas Löffler's avatar
Thomas Löffler committed
69
70
71
72
73
74
75
76
77
# additional_fqdns:
#  - example.com
#  - sub1.example.com
# would provide http and https URLs for "example.com" and "sub1.example.com"
# Please take care with this because it can cause great confusion.

# upload_dir: custom/upload/dir
# would set the destination path for ddev import-files to custom/upload/dir.

78
79
80
# working_dir:
#   web: /var/www/html
#   db: /home
Thomas Löffler's avatar
Thomas Löffler committed
81
82
83
# would set the default working directory for the web and db services.
# These values specify the destination directory for ddev ssh and the
# directory in which commands passed into ddev exec are run.
84
85
86
87

# omit_containers: ["dba", "ddev-ssh-agent"]
# would omit the dba (phpMyAdmin) and ddev-ssh-agent containers. Currently
# only those two containers can be omitted here.
Thomas Löffler's avatar
Thomas Löffler committed
88
# Note that these containers can also be omitted globally in the
89
90
91
# ~/.ddev/global_config.yaml or with the "ddev config global" command.


92
93
94
95
# provider: default # Currently either "default" or "pantheon"
#
# Many ddev commands can be extended to run tasks after the ddev command is
# executed.
96
# See https://ddev.readthedocs.io/en/stable/users/extending-commands/ for more
97
98
99
100
# information on the commands that can be extended and the tasks you can define
# for them. Example:
#hooks:
#  post-start:
Tomas Norre Mikkelsen's avatar
Tomas Norre Mikkelsen committed
101
#    - exec: composer install -d /var/www/html