mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
29 lines
548 B
YAML
29 lines
548 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
|
|
browserless:
|
|
image: browserless/chrome:1-chrome-stable
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- DEBUG=browserless/chrome
|
|
- MAX_CONCURRENT_SESSIONS=10
|
|
- CONNECTION_TIMEOUT=300000
|
|
- MAX_QUEUE_LENGTH=10
|
|
- ENABLE_CORS=true
|
|
- EXIT_ON_HEALTH_FAILURE=true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1024M
|
|
replicas: 56
|
|
restart_policy:
|
|
condition: on-failure
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
config:
|
|
- subnet: 192.168.128.0/24
|