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] 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

View File

@ -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',

View File

@ -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

View File

@ -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

View File

@ -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/