1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
This commit is contained in:
kev 2021-09-16 15:46:38 +08:00
parent b336b80910
commit 58fdc8441f
4 changed files with 54 additions and 28 deletions

View File

@ -1,11 +1,36 @@
firefox:
image: selenium/standalone-firefox-debug
ports:
- "4444:4444"
- "5900:5900"
environment:
- JAVA_OPTS=-Xmx512m
- SCREEN_WIDTH=1024
- SCREEN_HEIGHT=768
- SCREEN_DEPTH=16
restart: always
version: "3.8"
services:
hub:
image: selenium/hub:4
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
restart: unless-stopped
chrome:
image: selenium/node-chrome:4
ports:
- "5900:5900"
environment:
- SE_EVENT_BUS_HOST=hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_NODE_MAX_SESSIONS=4
shm_size: 2gb
depends_on:
- hub
restart: unless-stopped
video:
image: selenium/video
volumes:
- ./data:/videos
depends_on:
- chrome
environment:
- DISPLAY_CONTAINER_NAME=chrome
- FILE_NAME=output.mp4
restart: unless-stopped

View File

@ -6,8 +6,6 @@ services:
image: selenium/hub:3.141.59
ports:
- "4444:4444"
volumes:
- /dev/shm:/dev/shm
environment:
- JAVA_OPTS=-Xmx512m
- GRID_TIMEOUT=60

View File

@ -1,13 +1,16 @@
chrome:
image: selenium/node-chrome:3.141.59
ports:
- "5555:5555"
volumes:
- /dev/shm:/dev/shm
environment:
- HUB_HOST=10.0.0.21
- HUB_PORT=4444
- REMOTE_HOST=http://10.0.0.22:5555
- NODE_MAX_INSTANCES=2
- NODE_MAX_SESSION=2
restart: unless-stopped
version: '3.8'
services:
chrome:
image: selenium/node-chrome:3.141.59
ports:
- "5555:5555"
environment:
- HUB_HOST=10.0.0.21
- HUB_PORT=4444
- REMOTE_HOST=http://10.0.0.22:5555
- NODE_MAX_INSTANCES=2
- NODE_MAX_SESSION=2
shm_size: 2gb
restart: unless-stopped

View File

@ -5,8 +5,8 @@
FROM ubuntu:20.04
MAINTAINER EasyPi Software Foundation
ENV SNORT_VERSION=3.1.9.0
ENV LIBDAQ_VERSION=3.0.4
ENV SNORT_VERSION=3.1.12.0
ENV LIBDAQ_VERSION=3.0.5
ENV LIBDNET_VERSION=1.14
ARG DEBIAN_FRONTEND=noninteractive