Files
points-mall/supplied-service/.env.example
T
2026-07-30 18:31:54 +08:00

24 lines
767 B
Bash

# MySQL connection string for Koa runtime and Prisma CLI.
DATABASE_URL="mysql://supper:Supper%40123456@localhost:10086/supplier_db"
PRISMA_CLIENT_ENGINE_TYPE="binary"
# Optional app settings.
JWT_SECRET="replace-me"
UPLOAD_TOKEN="replace-me"
# Main points mall bridge API, for example http://localhost/open.
POINTS_MALL_OPEN_API_BASE="http://localhost/open"
SUPPLIER_OPEN_SM4_KEY_HEX="00112233445566778899aabbccddeeff"
SUPPLIER_OPEN_SM4_IV_HEX="0102030405060708090a0b0c0d0e0f10"
# Redis token cache. Redis DB 9 is used for platform bridge tokens.
REDIS_HOST="127.0.0.1"
REDIS_PORT="6379"
REDIS_PASSWORD=""
REDIS_DB="9"
MINIO_ACCESS_KEY="replace-me"
MINIO_SECRET_KEY="replace-me"
MINIO_ENDPOINT="http://localhost:9000"
MINIO_BUCKET="njupt"
MINIO_REGION="us-east-1"