mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-15 02:23:12 +00:00
28 lines
983 B
Bash
Executable File
28 lines
983 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
cd ./pods/account
|
|
rushx bundle
|
|
|
|
port=${1:-3000}
|
|
echo "Running account on port: ${port}"
|
|
#MONGO_URL=mongodb://localhost:27017,
|
|
export DB_URL="mongodb://localhost:27018"
|
|
# DB_URL=postgresql://postgres:example@localhost:5432,
|
|
# DB_URL=postgresql://root@huly.local:26257/defaultdb?sslmode=disable,
|
|
export SERVER_SECRET="secret"
|
|
export REGION_INFO="|America;europe|"
|
|
export TRANSACTOR_URL="ws://transactor:3334;ws://localhost:3334,ws://transactor-europe:3335;ws://localhost:3335;europe,"
|
|
export ACCOUNTS_URL="http://localhost:${port}"
|
|
export ACCOUNT_PORT=${port}
|
|
export FRONT_URL="http://localhost:8080"
|
|
export STATS_URL="http://huly.local:4900"
|
|
export SES_URL=
|
|
export MINIO_ACCESS_KEY="minioadmin"
|
|
export MINIO_SECRET_KEY="minioadmin"
|
|
export MINIO_ENDPOINT="localhost"
|
|
export ADMIN_EMAILS=admin
|
|
# DISABLE_SIGNUP=true,
|
|
# INIT_SCRIPT_URL=https://raw.githubusercontent.com/hcengineering/init/main/script.yaml,
|
|
# INIT_WORKSPACE=onboarding,
|
|
node --inspect bundle/bundle.js |