This add-on integrates Chrome Headless into your DDEV project.
ddev add-on get dustinleblanc/ddev-chrome-headless
ddev restart
After installation, make sure to commit the .ddev directory to version control.
| Command | Description |
|---|---|
ddev describe |
View service status and used ports for Chrome Headless |
ddev logs -s chrome-headless |
Check Chrome Headless logs |
To change the Docker image:
ddev dotenv set .ddev/.env.chrome-headless --chrome-headless-docker-image="ddev/ddev-utilities:latest"
ddev add-on get dustinleblanc/ddev-chrome-headless
ddev restart
Make sure to commit the .ddev/.env.chrome-headless file to version control.
All customization options (use with caution):
| Variable | Flag | Default |
|---|---|---|
CHROME_HEADLESS_DOCKER_IMAGE |
--chrome-headless-docker-image |
ddev/ddev-utilities:latest |
Contributed and maintained by @dustinleblanc