init
This commit is contained in:
17
server/release/linux/.env
Normal file
17
server/release/linux/.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/linux/.env.example
Normal file
17
server/release/linux/.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/linux/jnote-api
Normal file
BIN
server/release/linux/jnote-api
Normal file
Binary file not shown.
4
server/release/linux/start.sh
Normal file
4
server/release/linux/start.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
# JNote 后端服务启动脚本
|
||||
cd "$(dirname "$0")"
|
||||
./jnote-api
|
||||
Reference in New Issue
Block a user