Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanjiayou committed Jun 20, 2023
1 parent 692e0b2 commit acf13f4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions jenkins/jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
[参考](https://juejin.cn/post/7067790095767568397)

## node项目打包镜像
- 在有docker环境的系统expose端口
1. 修改daemon.json 添加hosts:["tcp://0.0.0.0:2375"],`netsh advfirewall firewall add rule name="docker_name" dir=in action=allow protocol=TCP localport=2375`
2. ```
$ docker pull alpine/socat
$ docker run -d --restart=always \
-p 0.0.0.0:2376:2375 \
-v /var/run/docker.sock:/var/run/docker.sock \
alpine/socat \
tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock
```
- cloud配置: Docker Cloud detail => Docker Host URI => tcp://192.168.3.238:2376
- 自由风格项目
- 源码管理: https://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@github.com/ruanjiayou/node-mongo-api.git
Expand Down
6 changes: 5 additions & 1 deletion nas/nas.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
- ssh里重启docker: service dockerd restart
花生壳

### lantern
> 首先右键桌面上的Lantern图标,选择“打开文件位置”,即可进入lantern的安装目录。在其中寻找一个setting.yaml的文件
## nas登录步骤
- curl "https://down.oray.com/hsk/linux/phddns_5.2.0_amd64.deb" -o phddns_5.2.0_amd64.deb
- dpkg -i phddns_5.2.0_amd64.deb
- b.oray.com 使用SN登录跳转后立即用账号再登陆一次绑定设备

## docker拉取失败
> 进到ssh可以拉取..
- 换镜像源: https://registry.cn-hangzhou.aliyuncs.com
- 换镜像源: https://registry.cn-hangzhou.aliyuncs.com
- 修改远程访问: 0.0.0.0:9375

0 comments on commit acf13f4

Please sign in to comment.