This commit is contained in:
Zengtudor 2024-11-02 10:32:30 +08:00
parent 316575817c
commit 3ea1969ade
2 changed files with 17 additions and 0 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
CLASH_PATH=/root/clash

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
services:
clash-server:
image: dreamacro/clash
container_name: clash
ports:
- "5090:9090"
- "5890:7890"
- "5891:7891"
volumes:
- $CLASH_PATH/config.yaml:/root/.config/clash/config.yaml
clash-ui:
image: haishanh/yacd
container_name: clash-ui
ports:
- 5080:80