werefox-cafe/tests/docker-compose.yml

31 lines
621 B
YAML

---
version: "3"
services:
selenium-hub:
image: selenium/standalone-chrome:108.0
shm_size: '2gb'
ports:
- "4444:4444"
- "7900:7900"
environment:
- SE_OPTS:"--allow-cors true"
healthcheck:
test: curl --fail http://localhost:4444/
interval: 5s
retries: 5
start_period: 10s
timeout: 30s
selenium-node:
image: selenium-node:latest
build: .
depends_on:
selenium-hub:
condition: service_healthy
volumes:
- ./test_suite:/tests:ro
- ./output:/output:rw
user: "1000:1000"
command: 'python3 /tests/test.py'