From 30a618552ffddda5fc391c20907b0256c3b38140 Mon Sep 17 00:00:00 2001 From: Claudio Fritsche Date: Mon, 2 Dec 2024 17:11:42 +0100 Subject: [PATCH] vault backup: 2024-12-02 17:11:42 --- .obsidian/app.json | 3 +- .obsidian/plugins/obsidian-git/data.json | 6 +- .obsidian/workspace.json | 70 ++++++++++++++++-------- 2 Personal/Home Lab/VPS/Gitea Setup.md | 23 ++++++++ 4 files changed, 76 insertions(+), 26 deletions(-) create mode 100644 2 Personal/Home Lab/VPS/Gitea Setup.md diff --git a/.obsidian/app.json b/.obsidian/app.json index 88ec9dd..b325765 100644 --- a/.obsidian/app.json +++ b/.obsidian/app.json @@ -3,5 +3,6 @@ "newFileFolderPath": "Temporary", "attachmentFolderPath": "Attachments", "alwaysUpdateLinks": true, - "propertiesInDocument": "source" + "propertiesInDocument": "source", + "showLineNumber": false } \ No newline at end of file diff --git a/.obsidian/plugins/obsidian-git/data.json b/.obsidian/plugins/obsidian-git/data.json index b3409c6..f7d15a3 100644 --- a/.obsidian/plugins/obsidian-git/data.json +++ b/.obsidian/plugins/obsidian-git/data.json @@ -1,7 +1,7 @@ { "commitMessage": "vault backup: {{date}}", "commitDateFormat": "YYYY-MM-DD HH:mm:ss", - "autoSaveInterval": 0, + "autoSaveInterval": 700, "autoPushInterval": 0, "autoPullInterval": 0, "autoPullOnBoot": false, @@ -50,7 +50,9 @@ }, "textColorCss": "var(--text-muted)", "ignoreWhitespace": false, - "gutterSpacingFallbackLength": 5 + "gutterSpacingFallbackLength": 5, + "lastShownAuthorDisplay": "initials", + "lastShownDateTimeFormatOptions": "date" }, "autoCommitMessage": "vault backup: {{date}}" } \ No newline at end of file diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 84c2022..0bce61b 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -92,12 +92,12 @@ "state": { "type": "markdown", "state": { - "file": "99 Work/Salary Negotiations.md", + "file": "2 Personal/Home Lab/VPS/Gitea Setup.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Salary Negotiations" + "title": "Gitea Setup" } } ], @@ -173,9 +173,11 @@ "type": "leaf", "state": { "type": "file-properties", - "state": {}, + "state": { + "file": "2 Personal/Home Lab/VPS/Gitea Setup.md" + }, "icon": "lucide-info", - "title": "File properties" + "title": "File properties for Gitea Setup" } }, { @@ -256,8 +258,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -276,8 +278,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -286,8 +288,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -296,8 +298,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -306,8 +308,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -316,8 +318,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -326,8 +328,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "lucide-file", - "title": "Plugin no longer active" + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" } }, { @@ -346,8 +348,8 @@ "state": { "type": "review-queue-list-view", "state": {}, - "icon": "SpacedRepIcon", - "title": "Notes Review Queue" + "icon": "lucide-file", + "title": "Plugin no longer active" } }, { @@ -359,9 +361,29 @@ "icon": "SpacedRepIcon", "title": "Notes Review Queue" } + }, + { + "id": "284571aea5bc3351", + "type": "leaf", + "state": { + "type": "review-queue-list-view", + "state": {}, + "icon": "SpacedRepIcon", + "title": "Notes Review Queue" + } + }, + { + "id": "88532d75ca1cb4aa", + "type": "leaf", + "state": { + "type": "git-history-view", + "state": {}, + "icon": "history", + "title": "History" + } } ], - "currentTab": 16 + "currentTab": 18 }, { "id": "7324c8ef0d6e53cb", @@ -382,10 +404,11 @@ } ], "direction": "horizontal", - "width": 267.5 + "width": 261.5 }, "left-ribbon": { "hiddenItems": { + "obsidian-git:Open Git source control": false, "random-note:Open random note": false, "audio-recorder:Start/stop recording": false, "graph:Open graph view": false, @@ -403,6 +426,8 @@ }, "active": "6a011bc2021e0e5f", "lastOpenFiles": [ + "99 Work/Salary Negotiations.md", + "2 Personal/Home Lab/VPS/Gitea Setup.md", "Temporary/C++ Data Structures.md", "3 Knowledge/Machine Learning.md", "Attachments/Pasted image 20241118160705.png", @@ -437,7 +462,6 @@ "Templates/Meeting Template.md", "99 Work/My Startup/Programs & Accelerators.md", "99 Work/Market Research/General Robotics.md", - "Templates/Habit Template.md", "Attachments/Gym-Rings-UK.pdf", "Attachments/Pasted image 20241030180227.png", "99 Work/Jobhunt/Applications", diff --git a/2 Personal/Home Lab/VPS/Gitea Setup.md b/2 Personal/Home Lab/VPS/Gitea Setup.md new file mode 100644 index 0000000..7377605 --- /dev/null +++ b/2 Personal/Home Lab/VPS/Gitea Setup.md @@ -0,0 +1,23 @@ +--- +title: Gitea Setup +created_date: 2024-12-02 +updated_date: 2024-12-02 +aliases: +tags: +--- +# Gitea Setup + + +> [!INFO] Gitea -VPS Setup +> [gitea.claudiofritsche.com](gitea.claudiofritsche.com) +> Ports: 8083 and 8022 (ssh) +> Admin User: Ecuashungo +> Obsidian User: obsidian + +## Motivation +### Why do I want my own git server? +I do not want to share my obsidian vault with any third party server, because it contains sensitive information. Using Syncthing to synchronize between devices works well, but lacks a backup feature. Using [obisian-git](https://github.com/Vinzent03/obsidian-git) is a very easy way to do a daily backup for which a git server is needed. +## Setup +In order to setup the service on my VPS I used the instructions from [digital ocean](https://www.digitalocean.com/community/tutorials/how-to-install-gitea-on-ubuntu-using-docker) as well as [this YouTube Video](https://www.youtube.com/watch?v=ATmZLwBvOrk&ab_channel=HardwoodHomelab). + +