metacubexd/docs/docker-compose.yml

24 lines
433 B
YAML
Raw Permalink Normal View History

version: '3'
services:
metacubexd:
container_name: metacubexd
image: ghcr.io/metacubex/metacubexd
restart: always
ports:
- '80:80'
# optional
meta:
container_name: meta
2023-12-01 18:43:40 +08:00
image: docker.io/metacubex/mihomo:Alpha
restart: always
pid: host
ipc: host
network_mode: host
cap_add:
- ALL
volumes:
- /dev/net/tun:/dev/net/tun
2023-12-01 18:43:40 +08:00
- ./config.yaml:/root/.config/mihomo