mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
refactor: selenium镜像添加cpu和内存限制
This commit is contained in:
@@ -5,6 +5,11 @@ services:
|
||||
container_name: de-selenium
|
||||
shm_size: 2gb
|
||||
privileged: true
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${DE_SELENIUM_CPU_LIMIT}
|
||||
memory: ${DE_SELENIUM_MEM_LIMIT}
|
||||
environment:
|
||||
- SE_START_XVFB=false
|
||||
- SE_ENABLE_BROWSER_LEFTOVERS_CLEANUP=true
|
||||
|
||||
Reference in New Issue
Block a user