# 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: - /usr/local/etc/mihomo:/root/.config/mihomo - /dev/net/tun:/dev/net/tun yacd: image: p3terx/yacd container_name: yacd logging: driver: json-file options: max-size: 1m restart: 'unless-stopped' ports: - 18181:9091