Skip to content

Commit

Permalink
chore:11月24日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Nov 24, 2023
1 parent 1258d46 commit 625dafe
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/daily/2023-11.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 11月24日
- golang 运行二进制文件的时候报错
- goploy docker部署已经跑通,待配置nginx进行访问
- https://github.com/zhenorzz/goploy/
## 11月23日
- spug CICD工具
- https://spug.cc/docs/install-docker
Expand Down
14 changes: 14 additions & 0 deletions docs/javascript/2023-10-26-培训.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,18 @@ echo $USER
```
https://github.com/zhenorzz/goploy

docker run -it \
-p 19029:80 \
-v ~/.ssh:/root/.ssh \
-v ~/.ssh/known_hosts:/etc/hosts \
-v /root/goploy/repository:/opt/goploy/repository \
zhenorzz/goploy

docker run -it -d \
--name goploy \
-p 19029:80 \
-v ~/.ssh:/root/.ssh \
-v ~/.ssh/known_hosts:/etc/hosts \
-v /root/goploy/repository:/opt/goploy/repository \
goploy
```
5 changes: 5 additions & 0 deletions docs/javascript/2023-11-15-docker-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
- docker inspect 容器id/容器name
- docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mysql

## 根据容器ip 登录mysql

mysql -h xxx.xxx.xx.x -uxxxx -p
123456


## 查看容器日志
```
Expand Down

0 comments on commit 625dafe

Please sign in to comment.