mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-27 08:30:47 +08:00
fix: ws新增 .env 文件
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
; 本地部署后端
|
||||
; NUXT_PUBLIC_API_BASE_URL=https://127.0.0.1:8081
|
||||
; NUXT_PUBLIC_WEBSOCKET_URL=https://127.0.0.1:8082
|
||||
|
||||
; 预发环境后端
|
||||
NUXT_PUBLIC_API_BASE_URL=https://staging.open-isle.com
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
server.port=8082
|
||||
server.port=${SERVER_PORT:8082}
|
||||
|
||||
# 服务器配置
|
||||
spring.application.name=websocket-service
|
||||
|
||||
12
websocket_service/websocket_service.env.example
Normal file
12
websocket_service/websocket_service.env.example
Normal file
@@ -0,0 +1,12 @@
|
||||
SERVER_PORT=<your-server-port>
|
||||
|
||||
# RabbitMQ 配置
|
||||
RABBITMQ_HOST=<your-host>
|
||||
RABBITMQ_PORT=<your-port>
|
||||
RABBITMQ_USERNAME=<your-username>
|
||||
RABBITMQ_PASSWORD=<your-password>
|
||||
|
||||
# JWT 配置
|
||||
JWT_SECRET=<your-jwt-secret>
|
||||
|
||||
WEBSITE_URL=<your-website-url>
|
||||
Reference in New Issue
Block a user