init
This commit is contained in:
17
server/release/windows/.env
Normal file
17
server/release/windows/.env
Normal file
@@ -0,0 +1,17 @@
|
||||
# 数据库配置
|
||||
DB_HOST=43.156.91.115
|
||||
DB_PORT=53306
|
||||
DB_USER=root
|
||||
# DB_PASSWORD=mysql_sX4mrh
|
||||
DB_PASSWORD=mariadb_hJbME5
|
||||
DB_NAME=jnote
|
||||
|
||||
# RUSTFS 对象存储配置
|
||||
RUSTFS_ENDPOINT=http://43.156.91.115:9001
|
||||
RUSTFS_REGION=us-east-1
|
||||
RUSTFS_BUCKET=setting
|
||||
RUSTFS_ACCESS_KEY=rustfsadmin
|
||||
RUSTFS_SECRET_KEY=rustfsadmin
|
||||
|
||||
# 服务器配置
|
||||
PORT=4501
|
||||
17
server/release/windows/.env.example
Normal file
17
server/release/windows/.env.example
Normal file
@@ -0,0 +1,17 @@
|
||||
# 数据库配置
|
||||
DB_HOST=43.156.91.115
|
||||
DB_PORT=53306
|
||||
DB_USER=root
|
||||
# DB_PASSWORD=mysql_sX4mrh
|
||||
DB_PASSWORD=mariadb_hJbME5
|
||||
DB_NAME=jnote
|
||||
|
||||
# RUSTFS 对象存储配置
|
||||
RUSTFS_ENDPOINT=http://43.156.91.115:9001
|
||||
RUSTFS_REGION=us-east-1
|
||||
RUSTFS_BUCKET=setting
|
||||
RUSTFS_ACCESS_KEY=rustfsadmin
|
||||
RUSTFS_SECRET_KEY=rustfsadmin
|
||||
|
||||
# 服务器配置
|
||||
PORT=4501
|
||||
BIN
server/release/windows/jnote-api.exe
Normal file
BIN
server/release/windows/jnote-api.exe
Normal file
Binary file not shown.
5
server/release/windows/start.bat
Normal file
5
server/release/windows/start.bat
Normal file
@@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
:: JNote 后端服务启动脚本
|
||||
cd /d "%~dp0"
|
||||
jnote-api.exe
|
||||
pause
|
||||
Reference in New Issue
Block a user