Skip to content

Commit

Permalink
chore:8月21日
Browse files Browse the repository at this point in the history
  • Loading branch information
aehyok committed Aug 21, 2024
1 parent 0d3e739 commit 4386dea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/daily/2024-08.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 8月21日
- uniapp和aar包调用
- https://ask.dcloud.net.cn/article/36284
## 8月9日
- vitepress引入script文件
- https://stackoverflow.com/questions/70687036/is-there-any-way-to-embed-javascript-into-vitepress-markdown-template
Expand Down
4 changes: 2 additions & 2 deletions docs/javascript/2024-08-19-window-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- G:\docker-desktop

## mysql 容器
docker run --name gpt-mysql -p 36:3306 -e MYSQL_ROOT_PASSWORD=M9y2512! -d mysql
docker run --name gpt-mysql -p 36:3306 --dns 8.8.8.8 --dns 8.8.4.4 -e MYSQL_ROOT_PASSWORD=M9y2512! -d mysql

Navicate可直接链接mysql

Expand All @@ -13,5 +13,5 @@ Navicate可直接链接mysql
git pull justsong/one-api
// --network="host" 使容器内的程序可以访问宿主机上的mysql
docker run --name one-api -d --restart always -p 35:3000 -e SQL_DSN="root:M9y2512!@tcp(localhost:36)/oneapi" --network="host" -e TZ=Asia/Shanghai justsong/one-api
docker run --name one-api -d --restart always -p 35:3000 -e SQL_DSN="root:M9y2512!@tcp(localhost:36)/oneapi" --dns 8.8.8.8 --dns 8.8.4.4 --network="host" -e TZ=Asia/Shanghai justsong/one-api
```

0 comments on commit 4386dea

Please sign in to comment.