Caution
# 🔴 DEPRECATED / 已废弃- ⚠️ 本项目已完全废弃,请停止使用旧镜像! - ⚠️ THIS PROJECT IS DEPRECATED. PLEASE MIGRATE IMMEDIATELY!为获得持续更新与更佳体验,请迁移至新版本镜像:
For the latest features, updates, and a better overall experience, please migrate to:
启动新容器时,请将持久化数据卷挂载关联至 /data(将原项目的旧数据无缝同步至新环境):
When starting the new container, make sure to mount your persistent volume to /data to retain your existing configuration:
services:
flclash-web:
image: ghcr.io/libzonda/flclash-web:latest
container_name: flclash-web
restart: unless-stopped
ports:
- "9090:9090" # Web UI Dashboard
- "7890:7890/tcp" # Clash Mixed Proxy Port (HTTP/SOCKS5)
- "7890:7890/udp"
# To enable transparent proxying in TUN mode, uncomment the line below to use host networking:
# network_mode: host
environment:
- TZ=Asia/Shanghai
- FLCLASH_WEB_LISTEN=0.0.0.0:9090
- FLCLASH_DATA_DIR=/data
volumes:
- ./data:/data
cap_add:
- NET_ADMIN
- NET_RAW
devices:
- /dev/net/tun:/dev/net/tun
docker pull libzonda/flclash-docker:36ce04c