Skip to content

Commit 0e786f1

Browse files
author
Peter Törnstrand
committed
Add auto install of php lib.
1 parent 50d6aad commit 0e786f1

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

README.md

-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ analysis, and alerting server built for structured logs and traces.
99
ddev add-on get https://github.com/happiness/ddev-seq
1010
```
1111

12-
## DDEV customizations
13-
14-
You need to install the PHP OpenTelemetry package. Edit the `./ddev/config.yml`
15-
file in your project and add the following lines:
16-
17-
```
18-
webimage_extra_packages: ["php${DDEV_PHP_VERSION}-opentelemetry"]
19-
```
20-
21-
Then restart DDEV by executing `ddev restart`.
22-
2312
## Drupal integration
2413

2514
Install the modules [OpenTelemetry](https://www.drupal.org/project/opentelemetry) and

config.ddev-seq.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
webimage_extra_packages: ["php${DDEV_PHP_VERSION}-opentelemetry"]
2+
ddev_version_constraint: '>=v1.23.5'

install.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ pre_install_actions:
5858
# if it hasn't been modified by the user.
5959
# DDEV environment variables can be interpolated into these filenames
6060
project_files:
61+
- config.ddev-seq.yaml
6162
- docker-compose.seq.yaml
63+
- .env.seq
6264

6365
# List of files and directories that are copied into the global .ddev directory
6466
# DDEV environment variables can be interpolated into these filenames

0 commit comments

Comments
 (0)