hw4: finalize selenoid and ansible workflow with citrus tests
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
selenoid:
|
||||
image: "{{ selenoid_image }}"
|
||||
container_name: selenoid
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DOCKER_API_VERSION=1.45
|
||||
ports:
|
||||
- "{{ selenoid_host_port }}:4444"
|
||||
volumes:
|
||||
- "./browsers.json:/etc/selenoid/browsers.json:ro"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "./logs:/opt/selenoid/logs"
|
||||
command:
|
||||
- "-limit"
|
||||
- "{{ selenoid_limit }}"
|
||||
- "-conf"
|
||||
- "/etc/selenoid/browsers.json"
|
||||
- "-log-output-dir"
|
||||
- "/opt/selenoid/logs"
|
||||
- "-container-network"
|
||||
- "{{ selenoid_container_network }}"
|
||||
- "-timeout"
|
||||
- "3m"
|
||||
- "-session-attempt-timeout"
|
||||
- "2m"
|
||||
- "-service-startup-timeout"
|
||||
- "2m"
|
||||
|
||||
selenoid-ui:
|
||||
image: "{{ selenoid_ui_image }}"
|
||||
container_name: selenoid-ui
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- selenoid
|
||||
ports:
|
||||
- "{{ selenoid_ui_port }}:8080"
|
||||
command:
|
||||
- "--selenoid-uri"
|
||||
- "http://selenoid:4444"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: "{{ selenoid_container_network }}"
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user