config.yaml 2.49 KB
Newer Older
Thomas Löffler's avatar
Thomas Löffler committed
1
APIVersion: v0.20.0
2
3
4
name: ter
type: typo3
docroot: html
5
php_version: "7.0"
6
7
router_http_port: "80"
router_https_port: "443"
8
9
xdebug_enabled: false
additional_hostnames: []
10
provider: default
11
12
hooks:
  post-start:
13
14
  - exec: sudo apt-get update
  - exec: sudo apt-get install php7.0-ldap
15
16
17
  - exec: composer install -d /var/www/html
  - exec: npm --prefix typo3conf/ext/t3olayout/Build install
  - exec: npm --prefix typo3conf/ext/t3olayout/Build run-script build
Thomas Löffler's avatar
Thomas Löffler committed
18
19
  - exec: ../vendor/bin/typo3cms install:generatepackagestates
  - exec: ../vendor/bin/typo3cms install:extensionsetupifpossible
20
21
22
  - exec: cp typo3conf/AdditionalConfiguration.ddev.php typo3conf/AdditionalConfiguration.php


23
# This config.yaml was created with ddev version v0.20.0
Thomas Löffler's avatar
Thomas Löffler committed
24
25
26
# webimage: drud/nginx-php-fpm-local:v0.20.0
# dbimage: drud/mariadb-local:v0.20.0
# dbaimage: drud/phpmyadmin:v0.20.0
27
28
29
30
31
32
# 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:

33
# name: <projectname> # Name of the project, automatically provides
34
35
36
37
38
39
40
41
#   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.

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

42
# You can explicitly specify the webimage, dbimage, dbaimage lines but this
43
44
45
# is not recommended, as the images are often closely tied to ddev's' behavior,
# so this can break upgrades.

46
47
# webimage: <docker_image>  # nginx/php docker image.
# dbimage: <docker_image>  # mariadb docker image.
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# dbaimage: <docker_image>

# 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"

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

# provider: default # Currently either "default" or "pantheon"
#
# Many ddev commands can be extended to run tasks after the ddev command is
# executed.
# See https://ddev.readthedocs.io/en/latest/users/extending-commands/ for more
# information on the commands that can be extended and the tasks you can define
# for them. Example:
#hooks:
#  post-start:
70
#    - exec: "composer install -d /var/www/html"