🎨 优化docker-compose脚本

This commit is contained in:
李寻欢 2024-01-05 09:48:04 +08:00
parent 3f0bdd7f3b
commit 5147ac48a2
3 changed files with 61 additions and 11 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
root = true
[*]
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.md]
indent_size = 4
trim_trailing_whitespace = false
eclint_indent_style = unset
[Dockerfile]
indent_size = 4

View File

@ -1,10 +1,43 @@
version: "3.3" version: "3.3"
services: services:
wxhelper-docker: 39825-v2:
build: . build:
restart: unless-stopped context: .
dockerfile: Dockerfile
args:
- WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.8.25/WeChatSetup-3.9.8.25.exe
- WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.8.25-v2/wxhelper.dll
image: wxhelper-docker:3.9.8.25-v2
container_name: wxhelper-docker container_name: wxhelper-docker
restart: unless-stopped
tty: true
ports:
- 8080:8080
- 19088:19088
39581-v11:
build:
context: .
dockerfile: Dockerfile
image: wxhelper-docker:3.9.5.81-v11
container_name: wxhelper-docker
restart: unless-stopped
tty: true
ports:
- 8080:8080
- 19088:19088
39223-v9:
build:
context: .
dockerfile: Dockerfile
args:
- WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe
- WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.2.23-v9/wxhelper.dll
image: wxhelper-docker:3.9.2.23-v9
container_name: wxhelper-docker
restart: unless-stopped
tty: true tty: true
ports: ports:
- 8080:8080 - 8080:8080