feat: initial infra repo

- docker-services: 14 generic compose templates (portainer, npm, vaultwarden, gitea, jotty, nextcloud-aio, rustdesk, audiobookshelf, calibre-web, plex, erugo, jswiki, speedtest, watchtower)
- install-scripts: bash scripts for Ubuntu server bootstrap, docker, portainer, npm, backup, restore
- ansible: 4 playbooks (bootstrap, deploy-services, update-services, security-hardening) + roles skeleton
- hermes-install: Hermes CLI setup on macOS
- macos-setup: Brewfile + osx-defaults + fish-config
- home-nas-tools: metadata index for NAS projects (no binaries)
- docs: architecture, security, contributing
- README, LICENSE (MIT), .gitignore
This commit is contained in:
2026-08-01 16:25:58 +02:00
commit 444191d16d
73 changed files with 4032 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
# Jotty proměnné prostředí
TZ=Europe/Prague
PUID=1000
PGID=1000
+59
View File
@@ -0,0 +1,59 @@
# Jotty poznámky a checklisty
> Self-hosted alternativa k Obsidian. Markdown poznámky, checklisty, kategorie.
## 📋 Přehled
- **Image:** `mrx23dotcom/jotty:latest`
- **Port:** `1122` (web)
- **User:** `1000:1000`
- **Network:** `bridge`
## 🚀 Instalace
```bash
cp .env.example .env
nano .env
docker compose up -d
```
## 🌐 Přístup
- **Web:** `http://<server>:1122` (za HTTPS terminuj v NPM)
- **První registrace:** Setup wizard na hlavní stránce
## 🎯 Použití
- **Poznámky** markdown, interní linky `@note-id`, tagy `#tag`
- **Checklisty** task management
- **Kategorie** organizace
- **TipTap editor** WYSIWYG nebo markdown
- **API** REST API s API klíčem pro integraci
## 🔐 Bezpečnost
- **API klíč** generuj v Admin → API
- **2FA** pro admin účet
- **HTTPS** terminuj v NPM
- **Registry** vypni po registraci
## 🔄 Aktualizace
```bash
docker compose pull
docker compose up -d
# Data zůstávají v ./data/notes/
```
## 📁 Volumes
| Mount | Účel |
|---|---|
| `./data:/app/data` | Poznámky, checklisty, databáze |
| `./config:/app/config` | Konfigurace, themes, custom emojis |
## 📚 Dokumentace
- [Jotty GitHub](https://github.com/mrx23dotcom/jotty)
- [Jotty API](https://github.com/mrx23dotcom/jotty/blob/main/howto/API.md)
+35
View File
@@ -0,0 +1,35 @@
# Jotty poznámky a checklisty
services:
jotty:
image: mrx23dotcom/jotty:latest
container_name: jotty
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Prague
restart: unless-stopped
networks:
- jotty_net
volumes:
- ./data:/app/data
- ./config:/app/config
- ./cache:/app/.next/cache
ports:
- "1122:3000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
networks:
jotty_net:
name: jotty_default
driver: bridge