mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-20 13:58:42 +00:00
update
This commit is contained in:
parent
0b0f664d21
commit
81840a6ab9
@ -9,7 +9,7 @@ to.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
browserless:
|
browserless:
|
||||||
image: browserless/chrome
|
image: browserless/chrome:1-chrome-stable
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
browserless:
|
browserless:
|
||||||
image: browserless/chrome
|
image: browserless/chrome:1-chrome-stable
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
version: '3.5'
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
browserless:
|
browserless:
|
||||||
image: browserless/chrome:latest
|
image: browserless/chrome:1-chrome-stable
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
@ -18,6 +20,7 @@ services:
|
|||||||
replicas: 56
|
replicas: 56
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipam:
|
ipam:
|
||||||
|
43
ggr/docker-stack.yml
Normal file
43
ggr/docker-stack.yml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
hub:
|
||||||
|
image: vimagick/ggr
|
||||||
|
ports:
|
||||||
|
- "4444:4444"
|
||||||
|
environment:
|
||||||
|
- BROWSER_NAME=chrome
|
||||||
|
- BROWSER_VERSION=78.0
|
||||||
|
- BROWSER_REGION=1
|
||||||
|
- BROWSER_HOSTS=tasks.chrome
|
||||||
|
- BROWSER_PORT=4444
|
||||||
|
- BROWSER_COUNT=10
|
||||||
|
deploy:
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
||||||
|
chrome:
|
||||||
|
image: selenium/standalone-chrome:3.141.59-xenon
|
||||||
|
volumes:
|
||||||
|
- /dev/shm:/dev/shm
|
||||||
|
environment:
|
||||||
|
- NODE_MAX_INSTANCES=10
|
||||||
|
- NODE_MAX_SESSION=10
|
||||||
|
depends_on:
|
||||||
|
- hub
|
||||||
|
deploy:
|
||||||
|
replicas: 2
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == worker
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
update_config:
|
||||||
|
parallelism: 5
|
||||||
|
delay: 10s
|
||||||
|
order: stop-first
|
Loading…
Reference in New Issue
Block a user