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


Thomas Löffler's avatar
Thomas Löffler committed
25 26 27 28
# This config.yaml was created with ddev version v1.3.0
# webimage: drud/ddev-webserver:v1.3.0
dbimage: drud/ddev-dbserver:v1.2.0
# dbaimage: drud/phpmyadmin:v1.3.0
29 30 31 32 33 34
# 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:

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

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

48 49
# webimage: <docker_image>  # nginx/php docker image.
# dbimage: <docker_image>  # mariadb docker image.
50 51 52 53 54 55 56
# 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"

Thomas Löffler's avatar
Thomas Löffler committed
57 58 59 60 61
# webserver_type: nginx-fpm  # Can be set to apache-fpm or apache-cgi as well

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

Thomas Löffler's avatar
Thomas Löffler committed
65 66 67 68 69 70 71 72 73
# 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.

74 75 76 77 78 79 80 81 82
# 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:
83
#    - exec: composer install -d /var/www/html