## v0.9.20260325_144654 ### Features - API Key Authentication System - Job Worker System - V2 Backup Versioning ### Bug Fixes - get_processor_results_by_job column mapping Co-authored-by: OpenCode
36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
#!/bin/bash
|
|
# Momentry Monitor 密碼管理腳本
|
|
# 路徑: /Users/accusys/momentry_core_0.1/monitor/common/load_credentials.sh
|
|
#
|
|
# 使用方式:
|
|
# source /path/to/load_credentials.sh
|
|
|
|
# 載入環境變數(如果存在)
|
|
if [ -f "$HOME/.momentry/credentials" ]; then
|
|
set -a
|
|
source "$HOME/.momentry/credentials"
|
|
set +a
|
|
fi
|
|
|
|
# 預設值
|
|
export PG_USER="${PG_USER:-accusys}"
|
|
export PG_PASSWORD="${PG_PASSWORD:-accusys}"
|
|
export PG_HOST="${PG_HOST:-localhost}"
|
|
export PG_PORT="${PG_PORT:-5432}"
|
|
|
|
export REDIS_PASSWORD="${REDIS_PASSWORD:-accusys}"
|
|
|
|
export MONGO_USER="${MONGO_USER:-accusys}"
|
|
export MONGO_PASSWORD="${MONGO_PASSWORD:-Test3200Test3200}"
|
|
export MONGO_PORT="${MONGO_PORT:-27017}"
|
|
|
|
export QDRANT_API_KEY="${QDRANT_API_KEY:-Test3200Test3200Test3200}"
|
|
|
|
export SFTPGO_PASSWORD="${SFTPGO_PASSWORD:-sftpgo_pass_2026}"
|
|
export SFTPGO_USER="${SFTPGO_USER:-sftpgo}"
|
|
|
|
export N8N_PASSWORD="${N8N_PASSWORD:-accusys}"
|
|
|
|
export MARIADB_USER="${MARIADB_USER:-accusys}"
|
|
export MARIADB_PASSWORD="${MARIADB_PASSWORD:-Test3200Test3200Test3200}"
|