Run clash-meta in container.
- Copy
config.yamlto project root directory. The config refer to https://wiki.metacubex.one/config/ - Run
docker compose up. - Visit
http://ip:19091to view config.
- 7890: mixed port
- 7891: socks port
- 19090: The external controller port (RESTful API)
- 19091: The dashboard port
- Must set
mixed-port: 7890 - Must set
allow-lan: true - Must set
bind-address: '*' - Must set
external-controller: '0.0.0.0:9090' - Recommended to set
secret: '<secret>'in config.
- Build image for local arch:
docker compose build - Build and push images for multi arch:
make build tag=0.1.0