version: '3' services: metacubexd: container_name: metacubexd image: ghcr.io/metacubex/metacubexd restart: always ports: - 80:80 # optional meta: container_name: meta image: docker.io/metacubex/clash-meta:Alpha restart: always network_mode: host cap_add: - NET_ADMIN volumes: - ./config.yaml:/root/.config/clash