first commit
This commit is contained in:
27
yaml/docker-compose-mihomo.yml
Normal file
27
yaml/docker-compose-mihomo.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# version: '3'
|
||||
services:
|
||||
mihomo:
|
||||
container_name: mihomo
|
||||
image: metacubex/mihomo
|
||||
restart: always
|
||||
pid: host
|
||||
ipc: host
|
||||
network_mode: host
|
||||
cap_add:
|
||||
- ALL
|
||||
# security_opt:
|
||||
# - apparmor=unconfined
|
||||
volumes:
|
||||
- /volume1/docker/mihomo:/root/.config/mihomo
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
|
||||
metacubexd:
|
||||
container_name: metacubexd
|
||||
image: ghcr.io/metacubex/metacubexd
|
||||
restart: always
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- '9097:80'
|
||||
volumes:
|
||||
- /volume1/docker/mihomo/metacubexd:/config/caddy
|
||||
|
||||
Reference in New Issue
Block a user