Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adoyle-h/clash-in-container
compose.yaml for clash-meta, clash-dashboard, subconverter.
https://github.com/adoyle-h/clash-in-container
clash container docker image
Last synced: 7 days ago
JSON representation
compose.yaml for clash-meta, clash-dashboard, subconverter.
- Host: GitHub
- URL: https://github.com/adoyle-h/clash-in-container
- Owner: adoyle-h
- Created: 2023-06-25T10:12:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T21:04:30.000Z (7 months ago)
- Last Synced: 2024-04-22T22:24:07.126Z (7 months ago)
- Topics: clash, container, docker, image
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/adoyle/clash-dashboard/
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clash in Container
Run clash-meta in container.
## Usage
1. Copy `config.yaml` to project root directory. The config refer to https://wiki.metacubex.one/config/
2. Run `docker compose up`.
3. Visit `http://ip:19091` to view config.## Ports
- 7890: mixed port
- 7891: socks port
- 19090: The external controller port (RESTful API)
- 19091: The dashboard port## Config
- 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: ''` in config.## Images
- Build image for local arch: `docker compose build`
- Build and push images for multi arch: `make build tag=0.1.0`