Files
gridpilot.gg/docker/docker-compose.e2e.yml

27 lines
663 B
YAML

version: '3.8'
services:
chrome:
image: browserless/chrome:latest
ports:
- "9222:3000"
environment:
- CONNECTION_TIMEOUT=120000
- MAX_CONCURRENT_SESSIONS=5
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/json/version"]
interval: 10s
timeout: 5s
retries: 3
fixture-server:
build: ./fixture-server
ports:
- "3456:80"
volumes:
- ../resources/iracing-hosted-sessions:/usr/share/nginx/html:ro
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost/01-hosted-racing.html"]
interval: 10s
timeout: 5s
retries: 3