Opinionated DDEV config for our Drupal/CiviCRM installations.
ddev add-on get socialistalternative/ddev-saAdd hooks to .ddev/config.yaml:
hooks:
post-pull:
- exec: .ddev/bin/setup
post-start:
- exec: .ddev/bin/setupTo support building a theme, define the theme name in .ddev/.env:
THEME=my_themeTo support Vite for theme development, expose ports in .ddev/config.yaml:
web_extra_exposed_ports:
- name: vite
container_port: 5173
http_port: 5172
https_port: 5173