This commit is contained in:
kev 2019-11-03 16:54:00 +08:00
parent eba2b7ed78
commit 9c8477ca8a
5 changed files with 61 additions and 17 deletions

View File

@ -47,6 +47,9 @@ A collection of delicious docker recipes.
- [x] ambari - [x] ambari
- [x] kafka-arm - [x] kafka-arm
- [x] kafka-manager - [x] kafka-manager
- [x] luigi
- [x] nifi
- [x] openrefine
- [x] prestodb (official) - [x] prestodb (official)
- [x] prestosql (community) - [x] prestosql (community)
- [x] superset-arm - [x] superset-arm
@ -65,10 +68,28 @@ A collection of delicious docker recipes.
- [x] drone-scp-arm - [x] drone-scp-arm
- [x] drone-ssh-arm - [x] drone-ssh-arm
- [x] errbot :octocat: - [x] errbot :octocat:
- [x] ggr
- [x] hubot :octocat: - [x] hubot :octocat:
- [x] jenkins-arm :beetle: - [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 ## Daemon
- [x] alpine-arm :+1: - [x] alpine-arm :+1:
@ -77,17 +98,11 @@ A collection of delicious docker recipes.
- [x] audiowaveform - [x] audiowaveform
- [x] cadvisor - [x] cadvisor
- [x] casperjs :+1: - [x] casperjs :+1:
- [x] collectd
- [x] elastalert
- [x] freegeoip - [x] freegeoip
- [x] freeradius - [x] freeradius
- [x] frp :cn: - [x] frp :cn:
- [x] graphite
- [x] h2o - [x] h2o
- [x] httpbin :+1: - [x] httpbin :+1:
- [x] influxdb
- [x] logstash
- [x] luigi
- [x] mariadb - [x] mariadb
- [x] mariadb-arm - [x] mariadb-arm
- [x] monit - [x] monit
@ -95,7 +110,6 @@ A collection of delicious docker recipes.
- [x] mosquitto - [x] mosquitto
- [x] motion-arm :+1: - [x] motion-arm :+1:
- [x] nginx - [x] nginx
- [x] nifi
- [x] ntopng - [x] ntopng
- [x] nullmailer - [x] nullmailer
- [x] nullmailer-arm - [x] nullmailer-arm
@ -115,14 +129,10 @@ A collection of delicious docker recipes.
- [x] samba :+1: - [x] samba :+1:
- [x] samba-arm :+1: - [x] samba-arm :+1:
- [x] scrapyd :+1: - [x] scrapyd :+1:
- [x] statsd
- [x] swarm-arm - [x] swarm-arm
- [x] taskd - [x] taskd
- [x] telegraf
- [x] tftpd - [x] tftpd
- [x] tmail :beetle: - [x] tmail :beetle:
- [x] urlwatch :beetle:
- [x] vnstat
- [x] vsftpd - [x] vsftpd
- [x] webhook - [x] webhook
- [x] webkit :beetle: - [x] webkit :beetle:
@ -158,9 +168,7 @@ A collection of delicious docker recipes.
- [x] django-cms - [x] django-cms
- [x] dokuwiki :+1: - [x] dokuwiki :+1:
- [x] dokuwiki-arm :+1: - [x] dokuwiki-arm :+1:
- [x] glances
- [x] gogs-arm :cn: - [x] gogs-arm :cn:
- [x] grafana
- [x] hugo - [x] hugo
- [x] hugo-arm - [x] hugo-arm
- [x] jamapi - [x] jamapi
@ -170,7 +178,6 @@ A collection of delicious docker recipes.
- [x] mediagoblin - [x] mediagoblin
- [x] nginad - [x] nginad
- [x] nodebb :+1: - [x] nodebb :+1:
- [x] openrefine
- [x] phpbb - [x] phpbb
- [x] phpmyadmin-arm - [x] phpmyadmin-arm
- [x] phpvirtualbox-arm - [x] phpvirtualbox-arm
@ -291,6 +298,7 @@ A collection of delicious docker recipes.
- [x] netdata/netdata - [x] netdata/netdata
- [x] nextcloud - [x] nextcloud
- [x] sonatype/nexus3 - [x] sonatype/nexus3
- [ ] jwilder/nginx-proxy
- [x] jazzdd/phpvirtualbox - [x] jazzdd/phpvirtualbox
- [x] jenkins - [x] jenkins
- [x] sonatype/nexus3 - [x] sonatype/nexus3

View File

@ -24,8 +24,13 @@ busy
from selenium import webdriver from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
capabilities = DesiredCapabilities.FIREFOX # it does not work :-1: # it does not work
capabilities = {'browserName': 'firefox'} # it works :+1: 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( driver = webdriver.Remote(
command_executor='http://127.0.0.1:4444/wd/hub', command_executor='http://127.0.0.1:4444/wd/hub',

View File

@ -21,3 +21,15 @@ services:
depends_on: depends_on:
- hub - hub
restart: unless-stopped 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

View File

@ -31,3 +31,21 @@ services:
- node.role == worker - node.role == worker
restart_policy: restart_policy:
condition: on-failure 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

View File

@ -75,6 +75,7 @@ driver.maximize_window()
driver.get('https://www.google.com/') driver.get('https://www.google.com/')
driver.save_screenshot('google.png') driver.save_screenshot('google.png')
driver.close() driver.close()
driver.quit()
``` ```
[1]: https://aerokube.com/selenoid/latest/ [1]: https://aerokube.com/selenoid/latest/