Skip to content

Commit

Permalink
add Configuration/Development/Ddev/Settings.ddev.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
haase-fabian committed Sep 12, 2022
1 parent c34ea1c commit 766e97d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 19 deletions.
Binary file removed images/template-button.png
Binary file not shown.
51 changes: 32 additions & 19 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,37 @@ pre_install_actions:
# - touch somefile.${DDEV_PROJECT_TYPE}.${DDEV_DOCROOT}.txt

# This item shows complex go templating possibilities based on yaml_read_files
#- |
# cat <<EOF >.ddev/config.platformsh.yaml
# php_version: {{ trimPrefix "php:" .platformapp.type }}
# database:
# type: {{ regexReplaceAll ":.*$" .services.db.type "" }}
# version: {{ regexReplaceAll "^.*:" .services.db.type "" }}
#
# docroot: {{ dig "web" "locations" "/" "root" "notfound" .platformapp }}
# {{ if eq .platformapp.build.flavor "composer" }}
# hooks:
# post-start:
# - composer: install
# {{ if .platformapp.hooks.deploy }}
# - exec: "{{ trimAll "\n" .platformapp.hooks.deploy | splitList "\n" | join ` && ` }}"
# {{ end }}
# {{ end }}
#
# EOF
- |
cat <<EOF >Configuration/Development/Ddev/Settings.ddev.yaml
Neos:
Flow:
http:
trustedProxies:
proxies: "*"
persistence:
backendOptions:
driver: pdo_mysql
host: db
dbname: db
user: db
password: db
Imagine:
driver: Imagick
SwiftMailer:
transport:
type: 'Swift_SmtpTransport'
options:
host: 'localhost'
port: '1025'
encryption: ~
username: ~
password: ~
localDomain: 'example.com'
EOF
# list of files and directories listed that are copied into project .ddev directory
# Each file should contain #ddev-generated so it can be replaced by a later `ddev get`
Expand All @@ -63,7 +76,7 @@ global_files:

# DDEV environment variables can be interpolated into these actions
post_install_actions:
# - chmod +x ~/.ddev/commands/web/somecommand
# - chmod +x ~/.ddev/commands/web/flow
# - touch somefile.${GOOS}.${DDEV_WEBSERVER}
# - perl -pi -e 's/oldstring/newstring/g' docker-compose.neos.yaml

Expand Down

0 comments on commit 766e97d

Please sign in to comment.