2023-01-17 12:22:01 -06:00
|
|
|
---
|
|
|
|
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
|
2023-01-21 14:48:07 -06:00
|
|
|
environment:
|
|
|
|
- PYTHONPYCACHEPREFIX:"${HOME}/"
|
2023-01-17 12:22:01 -06:00
|
|
|
volumes:
|
|
|
|
- ./test_suite:/tests:ro
|
|
|
|
- ./output:/output:rw
|
2023-01-27 10:44:16 -06:00
|
|
|
- ../src/info/data:/data:ro
|
2023-01-17 12:22:01 -06:00
|
|
|
user: "1000:1000"
|
2023-01-21 14:48:07 -06:00
|
|
|
command: 'python3 -m robot -d /output /tests'
|