From 9c8477ca8af4df44ed01f8946a1a79777c82a742 Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 3 Nov 2019 16:54:00 +0800 Subject: [PATCH] update --- README.md | 38 +++++++++++++++++++------------- jsonwire-grid/README.md | 9 ++++++-- jsonwire-grid/docker-compose.yml | 12 ++++++++++ jsonwire-grid/docker-stack.yml | 18 +++++++++++++++ selenoid/README.md | 1 + 5 files changed, 61 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 28f057d..7134673 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,9 @@ A collection of delicious docker recipes. - [x] ambari - [x] kafka-arm - [x] kafka-manager +- [x] luigi +- [x] nifi +- [x] openrefine - [x] prestodb (official) - [x] prestosql (community) - [x] superset-arm @@ -65,10 +68,28 @@ A collection of delicious docker recipes. - [x] drone-scp-arm - [x] drone-ssh-arm - [x] errbot :octocat: -- [x] ggr - [x] hubot :octocat: - [x] jenkins-arm :beetle: +## Cluster + +- [x] ggr +- [x] jsonwire-grid + +## Monitor + +- [x] collectd +- [x] elastalert +- [x] glances +- [x] grafana +- [x] graphite +- [x] influxdb +- [x] logstash +- [x] statsd +- [x] telegraf +- [x] urlwatch :beetle: +- [x] vnstat + ## Daemon - [x] alpine-arm :+1: @@ -77,17 +98,11 @@ A collection of delicious docker recipes. - [x] audiowaveform - [x] cadvisor - [x] casperjs :+1: -- [x] collectd -- [x] elastalert - [x] freegeoip - [x] freeradius - [x] frp :cn: -- [x] graphite - [x] h2o - [x] httpbin :+1: -- [x] influxdb -- [x] logstash -- [x] luigi - [x] mariadb - [x] mariadb-arm - [x] monit @@ -95,7 +110,6 @@ A collection of delicious docker recipes. - [x] mosquitto - [x] motion-arm :+1: - [x] nginx -- [x] nifi - [x] ntopng - [x] nullmailer - [x] nullmailer-arm @@ -115,14 +129,10 @@ A collection of delicious docker recipes. - [x] samba :+1: - [x] samba-arm :+1: - [x] scrapyd :+1: -- [x] statsd - [x] swarm-arm - [x] taskd -- [x] telegraf - [x] tftpd - [x] tmail :beetle: -- [x] urlwatch :beetle: -- [x] vnstat - [x] vsftpd - [x] webhook - [x] webkit :beetle: @@ -158,9 +168,7 @@ A collection of delicious docker recipes. - [x] django-cms - [x] dokuwiki :+1: - [x] dokuwiki-arm :+1: -- [x] glances - [x] gogs-arm :cn: -- [x] grafana - [x] hugo - [x] hugo-arm - [x] jamapi @@ -170,7 +178,6 @@ A collection of delicious docker recipes. - [x] mediagoblin - [x] nginad - [x] nodebb :+1: -- [x] openrefine - [x] phpbb - [x] phpmyadmin-arm - [x] phpvirtualbox-arm @@ -291,6 +298,7 @@ A collection of delicious docker recipes. - [x] netdata/netdata - [x] nextcloud - [x] sonatype/nexus3 +- [ ] jwilder/nginx-proxy - [x] jazzdd/phpvirtualbox - [x] jenkins - [x] sonatype/nexus3 diff --git a/jsonwire-grid/README.md b/jsonwire-grid/README.md index be5b106..43f6835 100644 --- a/jsonwire-grid/README.md +++ b/jsonwire-grid/README.md @@ -24,8 +24,13 @@ busy from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities -capabilities = DesiredCapabilities.FIREFOX # it does not work :-1: -capabilities = {'browserName': 'firefox'} # it works :+1: +# it does not work +capabilities = DesiredCapabilities.FIREFOX +capabilities = DesiredCapabilities.CHROME + +# it works +capabilities = {'browserName': 'firefox', 'version': '70.0'} +capabilities = {'platform': 'ANY', 'browserName': 'chrome', 'version': '78.0.3904.70'} driver = webdriver.Remote( command_executor='http://127.0.0.1:4444/wd/hub', diff --git a/jsonwire-grid/docker-compose.yml b/jsonwire-grid/docker-compose.yml index ba2cf09..c1eb1fc 100644 --- a/jsonwire-grid/docker-compose.yml +++ b/jsonwire-grid/docker-compose.yml @@ -21,3 +21,15 @@ services: depends_on: - hub restart: unless-stopped + + chrome: + image: selenium/node-chrome:3.141.59-xenon + entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5555" /opt/bin/entry_point.sh' + volumes: + - /dev/shm:/dev/shm + environment: + - HUB_HOST=hub + - HUB_PORT=4444 + depends_on: + - hub + restart: unless-stopped diff --git a/jsonwire-grid/docker-stack.yml b/jsonwire-grid/docker-stack.yml index d9a9ef2..567f2bc 100644 --- a/jsonwire-grid/docker-stack.yml +++ b/jsonwire-grid/docker-stack.yml @@ -31,3 +31,21 @@ services: - node.role == worker restart_policy: condition: on-failure + + chrome: + image: selenium/node-chrome:3.141.59-xenon + entrypoint: bash -c 'SE_OPTS="-host $$HOSTNAME -port 5555" /opt/bin/entry_point.sh' + volumes: + - /dev/shm:/dev/shm + environment: + - HUB_HOST=hub + - HUB_PORT=4444 + depends_on: + - hub + deploy: + replicas: 2 + placement: + constraints: + - node.role == manager + restart_policy: + condition: on-failure diff --git a/selenoid/README.md b/selenoid/README.md index 38edd1b..6040e42 100644 --- a/selenoid/README.md +++ b/selenoid/README.md @@ -75,6 +75,7 @@ driver.maximize_window() driver.get('https://www.google.com/') driver.save_screenshot('google.png') driver.close() +driver.quit() ``` [1]: https://aerokube.com/selenoid/latest/