Compare commits
2 Commits
c6b180ff45
...
6987009cfb
| Author | SHA1 | Date | |
|---|---|---|---|
| 6987009cfb | |||
| 079f5a89e7 |
@@ -1,34 +1,34 @@
|
|||||||
services:
|
services:
|
||||||
portfolio:
|
portfolio:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- NODE_VERSION=${NODE_VERSION}
|
- NODE_VERSION=${NODE_VERSION}
|
||||||
- CADDY_VERSION=${CADDY_VERSION}
|
- CADDY_VERSION=${CADDY_VERSION}
|
||||||
image: portfolio:${PORTFOLIO_VERSION}
|
image: portfolio:${PORTFOLIO_VERSION}
|
||||||
container_name: portfolio
|
container_name: portfolio
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- reverse-proxy
|
- reverse-proxy
|
||||||
|
|
||||||
lighthouse-audit:
|
lighthouse-audit:
|
||||||
profiles:
|
profiles:
|
||||||
- audit
|
- audit
|
||||||
image: zenika/alpine-chrome:${ZENIKA_VERSION}
|
image: zenika/alpine-chrome:${ZENIKA_VERSION}
|
||||||
container_name: lighthouse-audit
|
container_name: lighthouse-audit
|
||||||
user: "0:0"
|
user: "0:0"
|
||||||
volumes:
|
volumes:
|
||||||
- audit_dist:/app/dist
|
- audit_dist:/app/dist
|
||||||
- audit_reports:/app/.lighthouseci
|
- audit_reports:/app/.lighthouseci
|
||||||
environment:
|
environment:
|
||||||
- CHROME_PATH=/usr/bin/chromium-browser
|
- CHROME_PATH=/usr/bin/chromium-browser
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/dist/audit-config.cjs
|
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/dist/audit-config.cjs
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
audit_dist:
|
audit_dist:
|
||||||
audit_reports:
|
audit_reports:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
external: true
|
external: true
|
||||||
Reference in New Issue
Block a user