2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 19:44:58 +01:00

update browserless

This commit is contained in:
kev
2023-02-22 18:38:45 +08:00
parent bfb26b8b96
commit 37f07d09af
2 changed files with 71 additions and 31 deletions

View File

@@ -1,14 +1,15 @@
browserless:
image: browserless/chrome:1-chrome-stable
ports:
- "3000:3000"
environment:
- DEBUG=browserless/chrome
- MAX_CONCURRENT_SESSIONS=10
- CONNECTION_TIMEOUT=600000
- MAX_QUEUE_LENGTH=10
- CHROME_REFRESH_TIME=3600000
- ENABLE_CORS=true
- EXIT_ON_HEALTH_FAILURE=true
shm_size: 2gb
restart: always
version: '3.8'
services:
browserless:
image: browserless/chrome:1-chrome-stable
ports:
- "3000:3000"
environment:
- DEBUG=browserless/chrome
- MAX_CONCURRENT_SESSIONS=100
- CONNECTION_TIMEOUT=300000
- MAX_QUEUE_LENGTH=100
- ENABLE_CORS=true
- ENABLE_DEBUG_VIEWER=true
- EXIT_ON_HEALTH_FAILURE=true
restart: unless-stopped