Skip to content

Commit

Permalink
Update archives.
Browse files Browse the repository at this point in the history
  • Loading branch information
poneding committed Feb 5, 2025
1 parent e4db6b8 commit 4755ba2
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 8 deletions.
1 change: 0 additions & 1 deletion content/.obsidian/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"newFileLocation": "current",
"useMarkdownLinks": true,
"alwaysUpdateLinks": true,
"showRibbon": true,
"userIgnoreFilters": [
"menu/"
],
Expand Down
3 changes: 2 additions & 1 deletion content/.obsidian/appearance.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"extended-colorschemes"
],
"showViewHeader": true,
"translucency": true
"translucency": true,
"showRibbon": true
}
3 changes: 2 additions & 1 deletion content/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
"sync": false,
"webviewer": true
}
2 changes: 1 addition & 1 deletion content/.obsidian/graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": true
"close": false
}
6 changes: 6 additions & 0 deletions content/.obsidian/webviewer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"openExternalURLs": true,
"enableAdblocking": true,
"searchEngine": "google",
"homepage": "https://github.com/poneding"
}
4 changes: 4 additions & 0 deletions content/.obsidian/workspaces.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"workspaces": {},
"active": ""
}
2 changes: 1 addition & 1 deletion content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
- [Linux 容器](docker/linux-container.md)
- [非 root 账号获取 docker 权限](docker/non-root-account-get-docker-permission.md)
- [Mac 重装 Docker Desktop](docker/reinstall-docker-desktop-on-mac.md)
- [some-apps.md](docker/some-apps.md)
- [nginx](docker/some-apps.md)

## EBPF

Expand Down
2 changes: 1 addition & 1 deletion content/docker/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

[Mac 重装 Docker Desktop](reinstall-docker-desktop-on-mac.md)

[some-apps.md](some-apps.md)
[nginx](some-apps.md)
2 changes: 1 addition & 1 deletion content/docker/reinstall-docker-desktop-on-mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ rm -rf ~/.docker
---
[« 非 root 账号获取 docker 权限](non-root-account-get-docker-permission.md)

[» some-apps.md](some-apps.md)
[» nginx](some-apps.md)
26 changes: 25 additions & 1 deletion content/docker/some-apps.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[🏠 首页](../_index.md) / [Docker](_index.md) / some-apps.md
[🏠 首页](../_index.md) / [Docker](_index.md) / nginx

Docker 应用

Expand Down Expand Up @@ -91,5 +91,29 @@ docker run -d --name transfer \
dutchcoders/transfer.sh:latest --provider local --basedir /tmp/
```

# nginx

```bash
docker run -d \
--name nginx \
--publish 80:80 \
--volume /Users/dp/OneDrive/AppData/nginx/webapps.conf:/etc/nginx/webapps.conf:ro \
--volume /Users/dp/OneDrive/AppData/nginx/nginx.conf:/etc/nginx/nginx.conf:ro \
nginx
```

# Memos

本地部署

```bash
docker run -d \
--init \
--name memos \
--publish 5230:5230 \
--volume /Users/dp/OneDrive/AppData/memos:/var/opt/memos \
neosmemo/memos:stable
```

---
[« Mac 重装 Docker Desktop](reinstall-docker-desktop-on-mac.md)

0 comments on commit 4755ba2

Please sign in to comment.