2024-05-29 16:34:10 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
de-selenium:
|
|
|
|
image: registry.cn-qingdao.aliyuncs.com/dataease/standalone-chromium:123.0
|
|
|
|
container_name: de-selenium
|
|
|
|
shm_size: 2gb
|
|
|
|
privileged: true
|
2024-06-03 11:24:40 +08:00
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
cpus: ${DE_SELENIUM_CPU_LIMIT}
|
|
|
|
memory: ${DE_SELENIUM_MEM_LIMIT}
|
2024-05-29 16:34:10 +08:00
|
|
|
environment:
|
|
|
|
- SE_START_XVFB=false
|
|
|
|
- SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true
|
|
|
|
- SE_NODE_OVERRIDE_MAX_SESSIONS=true
|
|
|
|
- SE_NODE_MAX_SESSIONS=5
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
networks:
|
|
|
|
- dataease-network
|