多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**1.docker-compose.yml** ``` version: "3" services: selenium: build: context: . environment: TZ: 'Asia/Shanghai' shm_size: 2gb ports: - "4445:4444" networks: - selenium restart: always logging: driver: "json-file" options: max-size: "10m" max-file: "3" networks: selenium: driver: bridge ``` **2.Dockerfile** ``` FROM selenium/standalone-chrome:4.0.0-rc-1-prerelease-20210713 ENV LANGUAGE zh_CN.UTF-8 ENV LANG zh_CN.UTF-8 DBUS_SESSION_BUS_ADDRESS=/dev/null ```