diff --git a/.env.example b/.env.example index b1ede9d..af7ff8d 100644 --- a/.env.example +++ b/.env.example @@ -6,7 +6,7 @@ MYSQL_PASSWORD=mysql_ZTdhRB MYSQL_DB=xpack # 服务端口配置 -API_PORT=8000 +API_PORT=8002 ADMIN_PORT=8001 # 调试配置 diff --git a/scripts/resource/.env.example b/scripts/resource/.env.example index 871f7e4..af7ff8d 100644 --- a/scripts/resource/.env.example +++ b/scripts/resource/.env.example @@ -11,7 +11,7 @@ ADMIN_PORT=8001 # 调试配置 DEBUG=false -LOG_LEVEL=INFO +LOG_LEVEL=DEBUG # Redis 配置 REDIS_HOST=xpack-redis @@ -24,4 +24,10 @@ RABBITMQ_HOST=xpack-rabbitmq RABBITMQ_PORT=5672 RABBITMQ_USER=rabbitmq RABBITMQ_PASSWORD=rabbitmq_Gs123dA -RABBITMQ_VHOST=/ \ No newline at end of file +RABBITMQ_VHOST=/ + +# Payment config encryption key (Base64-encoded 32-byte random value for AES-GCM) +# Quick generation: python -c "import os,base64; print(base64.b64encode(os.urandom(32)).decode())" +PAYMENT_CONFIG_SECRET_KEY=uyyhfMJ+xpEE+IC5mPigpscekkR2ucz6Sj7sHYLhJQA= +# Optional: key ID used to support key rotation identification +PAYMENT_CONFIG_KEY_ID=default \ No newline at end of file