Update readme
This commit is contained in:
parent
cd2c756c96
commit
c3917e165d
|
@ -1,18 +0,0 @@
|
||||||
|
|
||||||
# 📊 ActualBudget
|
|
||||||
|
|
||||||
## 🛠️ Environment Setup
|
|
||||||
`.env` file:
|
|
||||||
|
|
||||||
```
|
|
||||||
HOST=''
|
|
||||||
ACTUAL_HTTPS_KEY=''
|
|
||||||
ACTUAL_HTTPS_CERT=''
|
|
||||||
```
|
|
||||||
|
|
||||||
## Future improvements
|
|
||||||
|
|
||||||
### 🔒 HTTPS Configuration with Tailscale
|
|
||||||
|
|
||||||
References:
|
|
||||||
- [Tailscale HTTPS Setup Guide](https://tailscale.com/kb/1153/enabling-https)
|
|
|
@ -1,3 +0,0 @@
|
||||||
# Encryption
|
|
||||||
|
|
||||||
https://wilw.dev/notes/volume-encryption
|
|
|
@ -1,48 +0,0 @@
|
||||||
# Mounting new volumes
|
|
||||||
|
|
||||||
1. ssh to storagebox
|
|
||||||
|
|
||||||
```
|
|
||||||
ssh -p23 u382808@u382808.your-storagebox.de
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Create a new directory
|
|
||||||
|
|
||||||
```
|
|
||||||
mkdir photoprism_import_data
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Navigate to [Hetzner cloud storage](https://robot.hetzner.com/storage). Create a new sub-account. Allow Samba, SSH, external reachability.
|
|
||||||
|
|
||||||
4. ssh to server
|
|
||||||
|
|
||||||
5. Create new credentials in `/etc/secure_config`:
|
|
||||||
|
|
||||||
```
|
|
||||||
username=(storagebox username)
|
|
||||||
password=(storagebox password)
|
|
||||||
```
|
|
||||||
|
|
||||||
6. Make mount directory
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo mkdir /mnt/photoprism_import_data
|
|
||||||
```
|
|
||||||
|
|
||||||
6. Update /etc/fstab
|
|
||||||
|
|
||||||
```
|
|
||||||
//u382808-sub3.your-storagebox.de/u382808-sub3 /mnt/photoprism_import_data cifs seal,vers=3,iocharset=utf8,rw,credentials=/etc/secure_config/.cifs-credentials-photoprism-import.txt,uid=1000,gid=1001,forceuid,forcegid,file_mode=0770,dir_mode=0770 0 0
|
|
||||||
```
|
|
||||||
|
|
||||||
7. Mount
|
|
||||||
|
|
||||||
```
|
|
||||||
mount -a
|
|
||||||
```
|
|
||||||
|
|
||||||
8. Verify that the storage box is mounted correctly:
|
|
||||||
|
|
||||||
```
|
|
||||||
df -h
|
|
||||||
```
|
|
|
@ -1,8 +0,0 @@
|
||||||
# VPN
|
|
||||||
|
|
||||||
Tailscale
|
|
||||||
|
|
||||||
https://login.tailscale.com/admin/dns
|
|
||||||
magicdns
|
|
||||||
stork-vibe.ts.net
|
|
||||||
https://tailscale.com/kb/1081/magicdns
|
|
|
@ -1,8 +0,0 @@
|
||||||
# Gitea
|
|
||||||
|
|
||||||
Set up env
|
|
||||||
|
|
||||||
```
|
|
||||||
DB_USER=''
|
|
||||||
DB_PASSWORD=''
|
|
||||||
```
|
|
|
@ -1,3 +0,0 @@
|
||||||
# nextcloud
|
|
||||||
|
|
||||||
To be added
|
|
|
@ -1,23 +1,10 @@
|
||||||
# photoprism
|
# photoprism
|
||||||
|
|
||||||
## Configuration
|
|
||||||
|
|
||||||
Setup `.env`:
|
|
||||||
|
|
||||||
```
|
|
||||||
PHOTOPRISM_DATABASE_PASSWORD=''
|
|
||||||
``
|
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
Mariadb refuses access to photoprism
|
Mariadb refuses access to photoprism
|
||||||
|
|
||||||
https://github.com/photoprism/photoprism/issues/1173
|
https://github.com/photoprism/photoprism/issues/1173
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
## PhotoSync
|
## PhotoSync
|
||||||
|
|
||||||
Server: 100.104.163.2
|
Server: 100.104.163.2
|
||||||
|
@ -27,4 +14,4 @@ Password:
|
||||||
Directory: originals
|
Directory: originals
|
||||||
Use SSL: off
|
Use SSL: off
|
||||||
|
|
||||||
Setup an Autotransfer trigger in PhotoSync to automatically upload new photos and videos when I attach charger
|
Setup an Autotransfer trigger in PhotoSync to automatically upload new photos and videos when I attach charger.
|
|
@ -1,37 +1,43 @@
|
||||||
# restic
|
# Restic Backup and Restore Guide
|
||||||
|
|
||||||
## Future improvements
|
## 📚 Useful Commands
|
||||||
- Set up with Docker secrets
|
|
||||||
- Add notification
|
|
||||||
|
|
||||||
## Useful commands
|
### 🔄 Restoring Files from a Running Docker Compose Container
|
||||||
|
|
||||||
Restoring files on a host where the container is already running via Docker Compose:
|
**1. Identify Latest Snapshot for the Host:** Execute the following command to find the latest snapshot for the current host and note down the ID.
|
||||||
|
|
||||||
```
|
```
|
||||||
# Find the latest snapshot for the current host (note the ID)
|
# Find the latest snapshot for the current host (note the ID)
|
||||||
docker-compose exec app restic snapshots -H <HOSTNAME>
|
docker-compose exec app restic snapshots -H <HOSTNAME>
|
||||||
# Restore the given file on the host
|
```
|
||||||
|
|
||||||
|
**2. Restore Specific File:** Use the snapshot ID to restore the desired file on the host.
|
||||||
|
|
||||||
|
```
|
||||||
docker-compose exec app restic restore --include /path/to/file <ID>
|
docker-compose exec app restic restore --include /path/to/file <ID>
|
||||||
```
|
```
|
||||||
|
|
||||||
List snapshots
|
### 📋 Listing Snapshots
|
||||||
```
|
```
|
||||||
docker compose run --rm backup snapshots
|
docker compose run --rm backup snapshots
|
||||||
```
|
```
|
||||||
|
|
||||||
View files uploaded in Backblaze
|
### 🌐 Accessing Backblaze Files Locally
|
||||||
|
|
||||||
|
In local, download via `brew install b2-tools`
|
||||||
|
|
||||||
- In local, download via `brew install b2-tools`
|
|
||||||
- In server
|
|
||||||
|
|
||||||
## Known issues
|
## Known issues
|
||||||
|
|
||||||
|
### 🚫 Ciphertext Verification Failure
|
||||||
```
|
```
|
||||||
Fatal: config or key 2327d55bb96f4cab846b07cc8ffe5906c88c3e657f326a506ccfcf95cd8fd1e7 is damaged: ciphertext verification failed
|
Fatal: config or key 2327d55bb96f4cab846b07cc8ffe5906c88c3e657f326a506ccfcf95cd8fd1e7 is damaged: ciphertext verification failed
|
||||||
```
|
```
|
||||||
|
|
||||||
[Related issue](https://github.com/djmaze/resticker/issues/48)
|
[Related issue](https://github.com/djmaze/resticker/issues/48)
|
||||||
|
|
||||||
|
### ⚠️ Pruning and Backup Operations
|
||||||
|
|
||||||
Do not run both prune and backup at the same time. When initializing, need to run individually.
|
Do not run both prune and backup at the same time. When initializing, need to run individually.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# Traefik
|
# Traefik
|
||||||
|
|
||||||
|
## Create Docker network
|
||||||
|
|
||||||
```
|
```
|
||||||
docker network create \
|
docker network create \
|
||||||
--driver=bridge \
|
--driver=bridge \
|
||||||
|
@ -7,5 +9,3 @@ docker network create \
|
||||||
--internal=false \
|
--internal=false \
|
||||||
traefik_network
|
traefik_network
|
||||||
```
|
```
|
||||||
|
|
||||||
Add test 1wehbesg
|
|
Loading…
Reference in New Issue