safety
This commit is contained in:
parent
879e9b4228
commit
c3cb36c8d6
51 changed files with 2290 additions and 1467 deletions
16
.env.example
Normal file
16
.env.example
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Generate each token independently: openssl rand -hex 32
|
||||
# Tokens stay on the server; never put them in VITE_* variables or URLs.
|
||||
STOCK_BOT_ADMIN_TOKEN=
|
||||
STOCK_BOT_SERVICE_TOKEN=
|
||||
# Optional read-only dashboard/API access.
|
||||
STOCK_BOT_READ_TOKEN=
|
||||
STOCK_BOT_HTTP_HOST=127.0.0.1
|
||||
STOCK_BOT_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
||||
# Explicit loopback-only development escape hatch. Forbidden in production.
|
||||
STOCK_BOT_AUTH_DISABLED=false
|
||||
NODE_ENV=development
|
||||
# Provider credentials are optional; configure only the providers you enable.
|
||||
EOD_API_KEY=
|
||||
QM_USERNAME=
|
||||
QM_PASSWORD=
|
||||
IB_ACCOUNT=
|
||||
Loading…
Add table
Add a link
Reference in a new issue