27 lines
563 B
YAML
27 lines
563 B
YAML
# 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:
|
|
- /opt/mihomo:/root/.config/mihomo
|
|
- /dev/net/tun:/dev/net/tun
|
|
|
|
metacubexd:
|
|
container_name: metacubexd
|
|
image: ghcr.io/metacubex/metacubexd
|
|
restart: always
|
|
ports:
|
|
- '39093:80'
|
|
# environment:
|
|
# - DEFAULT_BACKEND_URL=http://192.168.1.1:9090
|