Some checks failed
Portfolio/pipeline/head There was a failure building this commit
31 lines
790 B
YAML
31 lines
790 B
YAML
services:
|
|
portfolio:
|
|
build:
|
|
context: .
|
|
args:
|
|
- NODE_VERSION=${NODE_VERSION}
|
|
- CADDY_VERSION=${CADDY_VERSION}
|
|
image: portfolio:${PORTFOLIO_VERSION}
|
|
container_name: portfolio
|
|
restart: always
|
|
networks:
|
|
- reverse-proxy
|
|
|
|
lighthouse-audit:
|
|
profiles:
|
|
- audit
|
|
image: zenika/alpine-chrome:${ZENIKA_VERSION}
|
|
container_name: lighthouse-audit
|
|
user: "0:0"
|
|
volumes:
|
|
- ${PWD}/dist-audit:/app/dist
|
|
- ${PWD}/.lighthouseci:/app/.lighthouseci
|
|
- ${PWD}/.lighthouserc.cjs:/app/.lighthouserc.cjs
|
|
environment:
|
|
- CHROME_PATH=/usr/bin/chromium-browser
|
|
working_dir: /app
|
|
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/.lighthouserc.cjs
|
|
|
|
networks:
|
|
reverse-proxy:
|
|
external: true |