diff --git a/.obsidian/appearance.json b/.obsidian/appearance.json index bbc6444..5e0946d 100644 --- a/.obsidian/appearance.json +++ b/.obsidian/appearance.json @@ -1,5 +1,5 @@ { "accentColor": "", "cssTheme": "Atom", - "baseFontSize": 15 + "baseFontSize": 18 } \ No newline at end of file diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 0a54a7f..fdccae3 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -53,7 +53,7 @@ "state": { "type": "markdown", "state": { - "file": "Tenmado/Docker Compose.md", + "file": "Tenmado/Linux - Neovim.md", "mode": "source", "source": false } @@ -126,7 +126,7 @@ "state": { "type": "backlink", "state": { - "file": "Tenmado/Docker Compose.md", + "file": "Tenmado/Linux - Neovim.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -143,7 +143,7 @@ "state": { "type": "outgoing-link", "state": { - "file": "Tenmado/Docker Compose.md", + "file": "Tenmado/Linux - Neovim.md", "linksCollapsed": false, "unlinkedCollapsed": true } @@ -166,7 +166,7 @@ "state": { "type": "outline", "state": { - "file": "Tenmado/Docker Compose.md" + "file": "Tenmado/Linux - Neovim.md" } } }, @@ -197,8 +197,9 @@ }, "active": "854472b104f6e806", "lastOpenFiles": [ - "Tenmado/Dotfiles.md", "Tenmado/Docker Compose.md", + "Tenmado/Linux - Neovim.md", + "Tenmado/Dotfiles.md", "Tenmado/Git.md", "Tenmado/Linux - Desktop Entries.md", "Tenmado/Linux - Games Live Streaming.md", diff --git a/Tenmado/Docker Compose.md b/Tenmado/Docker Compose.md index e2251e3..e90c163 100644 --- a/Tenmado/Docker Compose.md +++ b/Tenmado/Docker Compose.md @@ -52,7 +52,57 @@ services: ``` #Public/Notta -## Caddy +## Caddy + Gitea +```bash +version: "3" +networks: + gitea: + external: false + caddy: +services: + gitea_server: + image: gitea/gitea:nightly + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=100 + - GITEA__database__DB_TYPE=mysql + - GITEA__database__HOST=database_localip + - GITEA__database__NAME=gitea + - GITEA__database__USER=gitea + - GITEA__database__PASSWD=secure_password + restart: always + networks: + - gitea + - caddy + volumes: + - /volume1/docker/gitea/data:/data + - /volume1/docker/gitea/timezone:/etc/timezone:ro + - /volume1/docker/gitea/localtime:/etc/localtime:ro + ports: + - "3000:3000" + - "222:22" + caddy: + image: caddy:latest + container_name: caddy + restart: unless-stopped + security_opt: + - no-new-privileges:true + ports: + - 8024:80 + - 4432:443 + volumes: + - /volume1/docker/caddy/Caddyfile:/etc/caddy/Caddyfile + - /volume1/docker/caddy/site:/srv + - /volume1/docker/caddy/caddy_data:/data + - /volume1/docker/caddy/caddy_config:/config + networks: + - caddy +volumes: + caddy_data: + external: true + caddy_config: +``` #Public/Notta ## Syncthing @@ -79,3 +129,26 @@ services: - 21027:21027/udp # Receive local discovery broadcasts restart: unless-stopped ``` + +#Public/Notta +## Plex +```bash +version: '2' +services: + plex: + container_name: plex + image: plexinc/pms-docker + restart: unless-stopped + environment: + - TZ=America/Los_Angeles + - PLEX_CLAIM= + - PLEX_UID=1000 + - GROUP_UID=100 + network_mode: host + volumes: + - /volume1/docker/plex/database:/config + - /volume1/plex/Transcode:/transcode + - /volume1/plex:/data + devices: + - /dev/dri:/dev/dri +``` \ No newline at end of file diff --git a/Tenmado/Linux - Neovim.md b/Tenmado/Linux - Neovim.md new file mode 100644 index 0000000..aec66dc --- /dev/null +++ b/Tenmado/Linux - Neovim.md @@ -0,0 +1,21 @@ +[[Tenmado/Linux|Linux]] +#Public/Notta +## Installation +### Windows +[Official_Method](https://github.com/neovim/neovim/wiki/Installing-Neovim) +Windows: +- Powershell: +```powershell +winget install Neovim.Neovim +``` + +- WSL: +```bash +## Brew needs to be installed first > https://brew.sh +## or just run the following one liner +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +## then +brew install neovim +``` +