fix(lighthouse): docker-compose indent

This commit is contained in:
2026-01-12 12:22:10 +01:00
parent 65b9e80545
commit c6c1e949be

View File

@@ -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