spb/drive Public
SPB Drive — self-hosted personal cloud drive (files, previews, sharing) on the MacLustr cluster.
JavaScript 82.7%
CSS 10.6%
Nunjucks 3.6%
Shell 1.8%
SQL 1.3%
1# ─────────────────────────────────────────────2# SPB Drive — Personal Cloud Drive3# ─────────────────────────────────────────────4# Author : Simon-Pierre Boucher5# Contact : contact@spboucher.ai6# File : deploy/ngrok.yml7# Purpose : ngrok v3 agent config — drive.spboucher.ai → 127.0.0.1:74308# License : MIT © Simon-Pierre Boucher9# ─────────────────────────────────────────────10#11# Setup once:12# 1. Reserve the domain `drive.spboucher.ai` in the ngrok dashboard13# (Universal Gateway → Domains → New Domain).14# 2. Add the CNAME record ngrok shows you at the spboucher.ai DNS provider.15# 3. Authtoken: `ngrok config add-authtoken <token>` once on the node —16# pm2 passes both the default agent config (token) and this file (endpoint),17# merged in order. (ngrok v3 configs do not interpolate env vars.)18# TLS terminates at ngrok; the app runs trustProxy and reads x-forwarded-for.1920version: 32122endpoints:23 - name: spbdrive24 url: https://drive.spboucher.ai25 upstream:26 url: http://127.0.0.1:743027