This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
mihomo:
|
||||
image: metacubex/mihomo:latest
|
||||
container_name: mihomo
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./config:/root/.config/mihomo
|
||||
# - /dev/net/tun:/dev/net/tun # 👈 Добавить эту строку
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
# - SYS_ADMIN # 👈 Добавить для TUN
|
||||
Reference in New Issue
Block a user