From 3ea1969ade87cb37da78b9a973cc89135c49d71f Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 2 Nov 2024 10:32:30 +0800 Subject: [PATCH] update --- .env | 1 + docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .env create mode 100644 docker-compose.yml 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