1.6 KiB
title, created_date, updated_date, aliases, tags
| title | created_date | updated_date | aliases | tags |
|---|---|---|---|---|
| Gitea Setup | 2024-12-02 | 2024-12-02 |
Gitea Setup
[!INFO] Gitea -VPS Setup 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 is a very easy way to do a daily backup for which a git server is needed.
How does the entire Obsidian Syncthing Gitea System work?
The live synchronization happens through syncthing. The 3 participants are my Macbook, my iPhone and my NAS. From my macbook however twice a day the obsidian-git plugin pushes to the gitea server to create a backup. It is the only instance pushing, which means we cannot have merge conflicts, nor is the git based system used for synchronization.
Setup
In order to setup the service on my VPS I used the instructions from digital ocean as well as this YouTube Video.
.gitignore and .stignore
Important to note here is that I added .git/** to all .stignore files before adding the git folder to my macbook, like that this doesn't get synced by syncthing.
In the gitignore file I've added all syncthing related files and folders.