generated from ddev/ddev-addon-template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
install.yaml
26 lines (21 loc) · 731 Bytes
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: redis
pre_install_actions:
# list of files and directories listed that are copied into project .ddev directory
project_files:
- docker-compose.redis.yaml
- redis/scripts/settings.ddev.redis.php
- redis/scripts/setup-drupal-settings.sh
- redis/redis.conf
- commands/redis/redis-cli
# List of files and directories that are copied into the global .ddev directory
global_files:
post_install_actions:
- |
#ddev-nodisplay
#ddev-description:Install redis settings for Drupal 9+ if applicable
redis/scripts/setup-drupal-settings.sh
removal_actions:
- |
#ddev-nodisplay
#ddev-description:Remove redis settings for Drupal 9+ if applicable
rm -f "${DDEV_APPROOT}/${DDEV_DOCROOT}/sites/default/settings.ddev.redis.php"