generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.lighthouse.yaml
35 lines (35 loc) · 1.04 KB
/
docker-compose.lighthouse.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
27
28
29
30
31
32
33
34
35
#ddev-generated
services:
lighthouse:
container_name: ddev-${DDEV_SITENAME}-lighthouse
build:
context: './lighthouseBuild'
args:
BASE_IMAGE: patrickhulce/lhci-client:latest
username: $USER
uid: $DDEV_UID
gid: $DDEV_GID
image: patrickhulce/lhci-client:latest-${DDEV_SITENAME}-built
user: '$DDEV_UID:$DDEV_GID'
restart: "no"
shm_size: ${LIGHTHOUSE_SHM_SIZE:-1gb}
cap_add:
- SYS_ADMIN
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
environment:
DDEV_HOSTNAME: $DDEV_HOSTNAME
NODE_EXTRA_CA_CERTS: /mnt/ddev-global-cache/mkcert/rootCA.pem
entrypoint: [ "/entrypoint.sh" ]
volumes:
- ../reports/lighthouse:/home/$USER/reports/export
- ../tests/lighthouse:/home/$USER/reports/config
- .:/mnt/ddev_config:ro
- ddev-global-cache:/mnt/ddev-global-cache
networks: [default, ddev_default]
external_links:
- ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
web:
links:
- lighthouse