Files
windmill/start-dev-db.sh
hugocasa 9a7a0135f7 Cursor SSH remote integration for workmux worktrees (#8060)
Add wm-cursor (wmc) script that bridges workmux with Cursor SSH remote,
giving each worktree its own Cursor window with an independently-focused
grouped tmux session.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:46:32 +00:00

18 lines
478 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if docker start windmill-db-dev 2>/dev/null; then
echo "PostgreSQL database started (existing container)."
else
docker run -d \
--name windmill-db-dev \
-e POSTGRES_PASSWORD=changeme \
-e POSTGRES_DB=windmill \
-p 5432:5432 \
-v windmill_db_data:/var/lib/postgresql/data \
postgres:16
echo "PostgreSQL database started (new container)."
fi
echo "Connection string: postgres://postgres:changeme@localhost:5432/windmill"