Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能直接从dockerhub直接拉镜像运行 #25

Closed
fantasyxby opened this issue Jan 29, 2024 · 7 comments · Fixed by #26
Closed

希望能直接从dockerhub直接拉镜像运行 #25

fantasyxby opened this issue Jan 29, 2024 · 7 comments · Fixed by #26
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@fantasyxby
Copy link

有些机器在本地构建镜像不太方便,比如白群😂

@vvbbnn00 vvbbnn00 linked a pull request Jan 29, 2024 that will close this issue
@vvbbnn00 vvbbnn00 added the enhancement New feature or request label Jan 29, 2024
@vvbbnn00
Copy link
Owner

已经增加了GitHub Action来编译并推送Docker镜像,可在vvbbnn00/warp-clash-api拉取镜像。

https://hub.docker.com/r/vvbbnn00/warp-clash-api

@SUGARYeUNGG
Copy link

讲真,想弄,但是没接触过,能不能出一个详细的教程。

@sukbearai
Copy link

部署失败了,可否出一个教程?

@pandamelive
Copy link

大神来一个教程

@Kaol-Fu
Copy link

Kaol-Fu commented Apr 20, 2024

有人pull image成功的么?我pull其它的image没问题,但是pull这个就会提示“tls: failed to verify certificate: x509: certificate is valid”。

@hanxi
Copy link

hanxi commented May 10, 2024

可以这样配置,新建文件 docker-compose.yaml ,写入以下内容:

services:
  warp-clash:
    container_name: warp-clash
    image: vvbbnn00/warp-clash-api
    ports:
      - "21001:3000"
    environment:
      SECRET_KEY: 123456
    volumes:
      - ./logs:/app/logs

然后执行 docker compose up -d 启动。
访问 http://你的IP:21001 ,输入SECRET_KEY(上面配的是123456,若没有配置,则可以留空),即可获取订阅链接。

@superHao2000
Copy link

superHao2000 commented May 14, 2024

docker run -d --restart=always --name warp-clash-api -e SECRET_KEY:123456 -p 3000:3000-v $PWD/warp:/app/logs vvbbnn00/warp-clash-api:latest

3000端口可以自己更换,secret_key不需要直接删除-e后面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants