metacubexd/docs/docker-compose.yml

21 lines
377 B
YAML
Raw 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
network_mode: host
cap_add:
- NET_ADMIN
volumes:
2023-12-01 18:43:40 +08:00
- ./config.yaml:/root/.config/mihomo