-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpt
More file actions
executable file
·20 lines (18 loc) · 748 Bytes
/
pt
File metadata and controls
executable file
·20 lines (18 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Project Tracker utility for managing tasks and roadmap items (PostgreSQL version via Docker)
# Set environment variables to connect to the PostgreSQL in k8s cluster via port-forward
export PT_DB_HOST=host.docker.internal
export PT_DB_PORT=5433
export PT_DB_NAME=financial_analysis
export PT_DB_USER=finance_user
export PT_DB_PASSWORD=secure_finance_password
# Execute the pt_pg command in the Docker container
docker run --rm \
-v /home/fred/projects/_openclaw:/data/_openclaw \
-v /home/fred/.openclaw/workspace:/workspace \
-e PT_DB_HOST="$PT_DB_HOST" \
-e PT_DB_PORT="$PT_DB_PORT" \
-e PT_DB_NAME="$PT_DB_NAME" \
-e PT_DB_USER="$PT_DB_USER" \
-e PT_DB_PASSWORD="$PT_DB_PASSWORD" \
moltbot-helpers-quick pt_pg "$@"