chore add core rust project files and diesel migrations
Track required workspace crates, scripts, and historical diesel migrations so the repository contains the complete runnable backend baseline. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
#DATABASE_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyuc_huiwings
|
||||
#UC_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyuc_huiwings
|
||||
#WS_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyws_huiwings
|
||||
|
||||
UC_DB_URL=postgres://postgres:postgres@localhost:5432/htyuc_huiwings
|
||||
WS_DB_URL=postgres://postgres:postgres@localhost:5432/htyws_huiwings
|
||||
KC_DB_URL=postgres://postgres:postgres@localhost:5432/htykc_huiwings
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/htykc_huiwings
|
||||
|
||||
ADMIN_DOMAIN=admin.huiwings.cn
|
||||
EXPIRATION_DAYS=10
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=DEBUG
|
||||
MUSIC_ROOM_MINI_DOMAIN=music-room.huiwings.cn
|
||||
MUSIC_ROOM_MINI_URL=https://music-room.huiwings.cn
|
||||
MUSIC_ROOM_WX_MINI_ID=wx3b02c886bb554012
|
||||
MUSIC_ROOM_WX_MINI_SECRET=b78a2a3d6b66634993a919a4293d1675
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=false
|
||||
SKIP_REGISTRATION=false
|
||||
SKIP_WX_PUSH=false
|
||||
TS_DOMAIN=ts.huiwings.cn
|
||||
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
|
||||
UPYUN_OPERATOR=moicen
|
||||
UPYUN_PASSWORD=NyJ51zRwFApY9Wo9EHJMrb8GI9YtvpVN
|
||||
|
||||
WS_URL=http://127.0.0.1:3000/api/v1/ws
|
||||
WS_PORT=3001
|
||||
|
||||
KC_URL=http://127.0.0.1:3002/api/v1/kc
|
||||
KC_PORT=3002
|
||||
|
||||
WX_MSG_REJECT_REGISTER="LcOF7w9k6gCunk2iY5myjxrDyo832dsU5_xJmEicZCs"
|
||||
WX_MSG_STUDENT_REGISTER="KIHfyzqTU6IiCuDfrvGfz9112eKWv4FDOv43wyxcsJc"
|
||||
WX_MSG_STUDENT_REGISTER_SUCCESS="uYl6_GGDKJaXY8VgIQlrpPZASOW8lIlHgDYmtE2Mgp8"
|
||||
WX_MSG_TEACHER_REGISTER="KIHfyzqTU6IiCuDfrvGfz9112eKWv4FDOv43wyxcsJc"
|
||||
WX_MSG_TEACHER_REGISTER_SUCCESS="jGmcJZB--IAlvKS3D0a5elvdrx_X6ImAMlvmjrg254A"
|
||||
|
||||
NGX_URL=https://admin.huiwings.cn/api/ngx
|
||||
|
||||
print_debug=true
|
||||
@@ -0,0 +1,16 @@
|
||||
# htyproc — 对齐 task_server/scripts/huiwings/run_proc.sh;HTTP 基址无 /api/v1 后缀
|
||||
# 任务库名对齐 Java -DDBNAME=htytask_huiwings;htyproc 进程不连库,仅与迁移/运维一致
|
||||
TS_DATABASE_URL=postgres://postgres:postgres@localhost:5432/htytask_huiwings
|
||||
|
||||
TS_URL=http://127.0.0.1:3003
|
||||
HTYUC_URL=http://127.0.0.1:3000
|
||||
HTYWS_URL=http://127.0.0.1:3001
|
||||
AI_URL=https://ai.alchemy-studio.cn
|
||||
TS_DOMAIN=ts.huiwings.cn
|
||||
NGX_URL=https://admin.huiwings.cn/api/ngx
|
||||
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
LOGGER_LEVEL=DEBUG
|
||||
PROC_PORT=3004
|
||||
WAIT_SEC=5
|
||||
@@ -0,0 +1,19 @@
|
||||
# htyts — 对齐 task_server/scripts/huiwings/run_ts.sh(-DDBNAME=htytask_huiwings)与 htyts::config
|
||||
TS_DATABASE_URL=postgres://postgres:postgres@localhost:5432/htytask_huiwings
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/htytask_huiwings
|
||||
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
|
||||
TS_DOMAIN=ts.huiwings.cn
|
||||
HTYUC_URL=http://127.0.0.1:3000
|
||||
HTYKC_URL=http://127.0.0.1:3002
|
||||
TS_PORT=3003
|
||||
|
||||
TOKEN_VERIFY=true
|
||||
AUTH_CHECKING=true
|
||||
EXP_DAYS=1
|
||||
ZOMBIE_MIN=30
|
||||
LOGGER_LEVEL=DEBUG
|
||||
@@ -0,0 +1,44 @@
|
||||
#DATABASE_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyuc_huiwings
|
||||
#UC_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyuc_huiwings
|
||||
#WS_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyws_huiwings
|
||||
|
||||
UC_DB_URL=postgres://postgres:postgres@localhost:5432/htyuc_huiwings
|
||||
WS_DB_URL=postgres://postgres:postgres@localhost:5432/htyws_huiwings
|
||||
KC_DB_URL=postgres://postgres:postgres@localhost:5432/htykc_huiwings
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/htyuc_huiwings
|
||||
|
||||
ADMIN_DOMAIN=admin.huiwings.cn
|
||||
EXPIRATION_DAYS=10
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=DEBUG
|
||||
MUSIC_ROOM_MINI_DOMAIN=music-room.huiwings.cn
|
||||
MUSIC_ROOM_MINI_URL=https://music-room.huiwings.cn
|
||||
MUSIC_ROOM_WX_MINI_ID=wx3b02c886bb554012
|
||||
MUSIC_ROOM_WX_MINI_SECRET=b78a2a3d6b66634993a919a4293d1675
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=false
|
||||
SKIP_REGISTRATION=false
|
||||
SKIP_WX_PUSH=false
|
||||
TS_DOMAIN=ts.huiwings.cn
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
UPYUN_OPERATOR=moicen
|
||||
UPYUN_PASSWORD=NyJ51zRwFApY9Wo9EHJMrb8GI9YtvpVN
|
||||
|
||||
WS_URL=http://127.0.0.1:3000/api/v1/ws
|
||||
WS_PORT=3001
|
||||
|
||||
KC_URL=http://127.0.0.1:3002/api/v1/kc
|
||||
KC_PORT=3002
|
||||
|
||||
WX_MSG_REJECT_REGISTER="LcOF7w9k6gCunk2iY5myjxrDyo832dsU5_xJmEicZCs"
|
||||
WX_MSG_STUDENT_REGISTER="KIHfyzqTU6IiCuDfrvGfz9112eKWv4FDOv43wyxcsJc"
|
||||
WX_MSG_STUDENT_REGISTER_SUCCESS="uYl6_GGDKJaXY8VgIQlrpPZASOW8lIlHgDYmtE2Mgp8"
|
||||
WX_MSG_TEACHER_REGISTER="KIHfyzqTU6IiCuDfrvGfz9112eKWv4FDOv43wyxcsJc"
|
||||
WX_MSG_TEACHER_REGISTER_SUCCESS="jGmcJZB--IAlvKS3D0a5elvdrx_X6ImAMlvmjrg254A"
|
||||
|
||||
NGX_URL=https://admin.huiwings.cn/api/ngx
|
||||
|
||||
print_debug=true
|
||||
@@ -0,0 +1,31 @@
|
||||
#DATABASE_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyws_huiwings
|
||||
#UC_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyuc_huiwings
|
||||
#WS_DB_URL=postgres://huiwings:ngK_D8WV!Wi_@bj-postgres-qe58e4r0.sql.tencentcdb.com:28154/htyws_huiwings
|
||||
|
||||
UC_DB_URL=postgres://postgres:postgres@localhost:5432/htyuc_huiwings
|
||||
WS_DB_URL=postgres://postgres:postgres@localhost:5432/htyws_huiwings
|
||||
KC_DB_URL=postgres://postgres:postgres@localhost:5432/htykc_huiwings
|
||||
DATABASE_URL=postgres://postgres:postgres@localhost:5432/htyws_huiwings
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=DEBUG
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=false
|
||||
SKIP_REGISTRATION=false
|
||||
SKIP_WX_PUSH=false
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
|
||||
WS_PORT=3001
|
||||
WS_URL=/api/v1/ws
|
||||
|
||||
KC_URL=http://127.0.0.1:3002/api/v1/kc
|
||||
KC_PORT=3002
|
||||
|
||||
WX_MSG_PIYUE_DONE="qbaILdUCOSFQP6mMyU90eL20OHbusBynbtW5MKbzPn4"
|
||||
WX_MSG_PUSH_MSG_STUDENT="eYN9SE_zENqjIzWtMFan12gqYQRpSAoGUTxkyNxMTbA"
|
||||
WX_MSG_PUSH_MSG_TEACHER="_jQIfMlKlSC0nm3ddaApEcZANJkhh_am3lKnaoqnGQE"
|
||||
WX_MSG_COMMENT="vZDsTwie42G4W_MaqeZ5P8NYqn8TxrRnoyoEaXQlzXs"
|
||||
|
||||
NGX_URL=https://admin.huiwings.cn/api/ngx
|
||||
Reference in New Issue
Block a user