Bumped.
This commit is contained in:
19
mihomo/docker-compose.yml
Normal file
19
mihomo/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
# config.yaml just see wiki examples.
|
||||
services:
|
||||
mihomo:
|
||||
container_name: mihomo
|
||||
image: metacubex/mihomo:latest
|
||||
restart: always
|
||||
#ports:
|
||||
# - 7890:7890
|
||||
# - 9090:9090
|
||||
pid: host
|
||||
ipc: host
|
||||
network_mode: host
|
||||
cap_add:
|
||||
- ALL
|
||||
volumes:
|
||||
# be prepared before compose up.
|
||||
- ${PWD}/config.yaml:/root/.config/mihomo/config.yaml
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
|
||||
Reference in New Issue
Block a user