docker-compose
services:
clash:
image: catwsq/clash-premium:latest
container_name: clash
hostname: clash
ports:
- 7890:7890
- 7891:7891
- 9091:9091
volumes:
- ./config.yaml:/opt/clash/config.yaml #config path can be changed
restart: always
with config.yaml:
port: 7890
socks-port: 7891
allow-lan: true
external-ui: ./ui
external-controller: 0.0.0.0:9091
secret: 123456 #you can cancel this line if you don't need a password
The web ui can be accessed by:
ip:9091/ui
Content type
Image
Digest
sha256:bdba651fc…
Size
21.4 MB
Last updated
about 2 years ago
docker pull catwsq/clash-premium