mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-23 21:35:36 +08:00
24 lines
433 B
YAML
24 lines
433 B
YAML
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/mihomo:Alpha
|
|
restart: always
|
|
pid: host
|
|
ipc: host
|
|
network_mode: host
|
|
cap_add:
|
|
- ALL
|
|
volumes:
|
|
- /dev/net/tun:/dev/net/tun
|
|
- ./config.yaml:/root/.config/mihomo
|