diff --git a/.env b/.env new file mode 100644 index 0000000..24ecd04 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +CLASH_PATH=/root/clash \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6b3393c --- /dev/null +++ b/docker-compose.yml @@ -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 \ No newline at end of file