Files
Orchestrator/privat/NoteGraph/DEPLOY.md
ankn a5f8fb49ab Migrate all repos into monorepo context folders
Bahn: aisupport, Analyse-O2C-C2S, awesome-bahn-mcp-servers, beam-mcp,
      Confluence_Bot, db-planet-mcp-server, O2C-Harness, project-audit,
      Projekt-KIQ-HP, teamlandkarte-mcp
Dhive: Jury-Voting
Privat: CV, NoteGraph (NOTE: NoteGraph needs complete redo after consolidation)
Shared: AI-Orchestrator, OrgMyLife, power_skills_and_more
Shared/references: symphony (read-only)

Bahn repos remain available as independent remotes - this monorepo
pulls them in via subtree, the originals are untouched.
2026-06-30 20:39:52 +02:00

1.3 KiB

Deploying NoteGraph

VPS Setup (First Time)

1. SSH into VPS and set up

ssh root@217.160.174.2

cd /opt
git clone https://github.com/DoctoDre/NoteGraph.git
cd NoteGraph

# Configure
cp .env.example .env
nano .env
# Set: SB_USER=admin:yourpassword

2. Add Caddy reverse proxy entry

Add to /etc/caddy/Caddyfile:

notes.andreknie.de {
    reverse_proxy localhost:3000
}

Then reload:

systemctl reload caddy

3. Start

docker compose up -d

4. DNS

Add an A record: notes.andreknie.de217.160.174.2

5. Access

Open https://notes.andreknie.de — log in with the credentials from .env.

Subsequent Deploys

Push to main → GitHub Actions deploys automatically (pulls + restarts containers).

Git-Backed Notes

The git-sync container auto-commits note changes every 5 minutes. To push these to GitHub, set up a deploy key or token on the VPS:

cd /opt/NoteGraph/notes
git remote add origin https://github.com/DoctoDre/NoteGraph.git
# Or use SSH key for push access

Architecture

  • SilverBullet runs on port 3000 (Docker)
  • Caddy handles HTTPS + reverse proxy
  • Notes stored as markdown in ./notes/ (mounted volume)
  • Git-sync container auto-commits changes