documents/dev/dev-server.md
Table of Contents
Dev Server — Mac Mini
IP: 192.168.1.185
Hostname: (need to check — likely macmini.local or similar)
This is the local development / homelab server.
Services
open-webui
- Port: 3010
- Process manager: pm2
- pm2 config:
~/Work/_pm2_processes/open-webui.json - Python: 3.11.11 (Homebrew —
/usr/local/Cellar/python@3.11/3.11.11) - Running since: 2026-03-30
Virtual env
- Name: "scriptsync" —
~/.venv-scriptsync - Alias:
ss(runssource ~/.venv-scriptsync/bin/activate) - Must activate the venv before the
open-webuicommand is available
Start
ss
open-webui serve --port 3010
Upgrade
ss
pip install --upgrade open-webui
ppm2 restart {process_id}
ppm2is an alias to/Users/dominick/.nvm/versions/node/v22.13.0/bin/pm2(pins a specific node version since nvm's default can shift)
Password reset
cd ~/.venv-scriptsync/lib/python3.11/site-packages/open_webui
sqlite3 data/webui.db
# generate bcrypt hash via CyberChef: https://gchq.github.io/CyberChef/#recipe=Bcrypt(10)
UPDATE auth SET password='<bcrypt hash>' WHERE email='dominick.pham@gmail.com';
ollama
- Port: 11434
- Proxy URL:
https://ollama.dph.am→localhost:11434 - Notes: See
documents/dev/ollama.md