docs: update example docker-compose.yml

This commit is contained in:
kunish 2024-03-20 16:18:18 +08:00
parent 6a48bbdd19
commit 35fcb800de
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -13,8 +13,11 @@ services:
container_name: meta
image: docker.io/metacubex/mihomo:Alpha
restart: always
pid: host
ipc: host
network_mode: host
cap_add:
- NET_ADMIN
- ALL
volumes:
- /dev/net/tun:/dev/net/tun
- ./config.yaml:/root/.config/mihomo