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,42 @@
|
||||
ADMIN_DOMAIN=admin.localhost:8088
|
||||
DATABASE_URL=postgres://htykc@localhost/htykc_local
|
||||
EXPIRATION_DAYS=1
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=debug
|
||||
MUSIC_ROOM_MINI_DOMAIN=music-room.localhost
|
||||
MUSIC_ROOM_MINI_URL=https://music-room.localhost
|
||||
MUSIC_ROOM_WX_MINI_ID=wx3b02c886bb554012
|
||||
MUSIC_ROOM_WX_MINI_SECRET=b78a2a3d6b66634993a919a4293d1675
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=true
|
||||
SKIP_REGISTRATION=true
|
||||
SKIP_WX_PUSH=true
|
||||
TS_DOMAIN=ts.localhost
|
||||
UC_DB_URL=postgres://htyuc@localhost/htyuc_local
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
UPYUN_OPERATOR=moicen
|
||||
UPYUN_PASSWORD=NyJ51zRwFApY9Wo9EHJMrb8GI9YtvpVN
|
||||
WS_DB_URL=postgres://htyws@localhost/htyws_local
|
||||
|
||||
WS_PORT=3001
|
||||
WS_URL=http://127.0.0.1:3000/api/v1/ws
|
||||
|
||||
KC_DB_URL=postgres://htykc@localhost/htykc_local
|
||||
KC_URL=http://127.0.0.1:3002/api/v1/kc
|
||||
KC_PORT=3002
|
||||
|
||||
#WX_MP_DOMAIN=wx.localhost
|
||||
#WX_MP_ID=wx30919c9c9bb48e44
|
||||
#WX_MP_SECRET=a993780f38b74d8541f1a9e90411c1d1
|
||||
WX_MSG_REJECT_REGISTER="V6jMcj2l-mrQRz9a0GW0EiB4va6WCyrpk2wyfAkAmW0"
|
||||
WX_MSG_STUDENT_REGISTER="BkiGoXhrLJoXJB-wn50wgHfKrqQL0mgMycORcurJDi8"
|
||||
WX_MSG_STUDENT_REGISTER_SUCCESS="OqI9IIFwiJners5bToVpborGIvQZbDhIcCSvlaJm2OI"
|
||||
WX_MSG_TEACHER_REGISTER="BkiGoXhrLJoXJB-wn50wgHfKrqQL0mgMycORcurJDi8"
|
||||
WX_MSG_TEACHER_REGISTER_SUCCESS="ocVsZ1RmE3UmGbQk3YHAp6_DAoLi5Qw2aF3PzpEGp_E"
|
||||
|
||||
NGX_URL=http://127.0.0.1:3000/api/ngx
|
||||
|
||||
print_debug=true
|
||||
@@ -0,0 +1,15 @@
|
||||
# 任务库名对齐本地 htyts;htyproc 进程不连库
|
||||
TS_DATABASE_URL=postgres://htyws@localhost/htytask_local
|
||||
|
||||
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=http://127.0.0.1:5000
|
||||
TS_DOMAIN=ts.localhost
|
||||
NGX_URL=http://127.0.0.1:3000/api/ngx
|
||||
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
LOGGER_LEVEL=debug
|
||||
PROC_PORT=3004
|
||||
WAIT_SEC=5
|
||||
@@ -0,0 +1,19 @@
|
||||
# htyts — 本地 task 库名需与 Postgres 中实际库一致(可先 createdb)
|
||||
TS_DATABASE_URL=postgres://htyws@localhost/htytask_local
|
||||
DATABASE_URL=postgres://htyws@localhost/htytask_local
|
||||
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
|
||||
TS_DOMAIN=ts.localhost
|
||||
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,42 @@
|
||||
ADMIN_DOMAIN=admin.localhost:8088
|
||||
DATABASE_URL=postgres://htyuc@localhost/htyuc_local
|
||||
EXPIRATION_DAYS=1
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=debug
|
||||
MUSIC_ROOM_MINI_DOMAIN=music-room.localhost
|
||||
MUSIC_ROOM_MINI_URL=https://music-room.localhost
|
||||
MUSIC_ROOM_WX_MINI_ID=wx3b02c886bb554012
|
||||
MUSIC_ROOM_WX_MINI_SECRET=b78a2a3d6b66634993a919a4293d1675
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=true
|
||||
SKIP_REGISTRATION=true
|
||||
SKIP_WX_PUSH=true
|
||||
TS_DOMAIN=ts.localhost
|
||||
UC_DB_URL=postgres://htyuc@localhost/htyuc_local
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
UPYUN_OPERATOR=moicen
|
||||
UPYUN_PASSWORD=NyJ51zRwFApY9Wo9EHJMrb8GI9YtvpVN
|
||||
WS_DB_URL=postgres://htyws@localhost/htyws_local
|
||||
|
||||
WS_URL=http://127.0.0.1:3000/api/v1/ws
|
||||
WS_PORT=3001
|
||||
|
||||
KC_DB_URL=postgres://htykc@localhost/htykc_local
|
||||
KC_URL=http://127.0.0.1:3002/api/v1/kc
|
||||
KC_PORT=3002
|
||||
|
||||
#WX_MP_DOMAIN=wx.localhost
|
||||
#WX_MP_ID=wx30919c9c9bb48e44
|
||||
#WX_MP_SECRET=a993780f38b74d8541f1a9e90411c1d1
|
||||
WX_MSG_REJECT_REGISTER="V6jMcj2l-mrQRz9a0GW0EiB4va6WCyrpk2wyfAkAmW0"
|
||||
WX_MSG_STUDENT_REGISTER="BkiGoXhrLJoXJB-wn50wgHfKrqQL0mgMycORcurJDi8"
|
||||
WX_MSG_STUDENT_REGISTER_SUCCESS="OqI9IIFwiJners5bToVpborGIvQZbDhIcCSvlaJm2OI"
|
||||
WX_MSG_TEACHER_REGISTER="BkiGoXhrLJoXJB-wn50wgHfKrqQL0mgMycORcurJDi8"
|
||||
WX_MSG_TEACHER_REGISTER_SUCCESS="ocVsZ1RmE3UmGbQk3YHAp6_DAoLi5Qw2aF3PzpEGp_E"
|
||||
|
||||
NGX_URL=http://127.0.0.1:3000/api/ngx
|
||||
|
||||
print_debug=true
|
||||
@@ -0,0 +1,25 @@
|
||||
DATABASE_URL=postgres://htyws@localhost/htyws_local
|
||||
JWT_KEY=0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE0xCAFEBABE
|
||||
LOGGER_LEVEL=debug
|
||||
POOL_SIZE=20
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
SKIP_POST_LOGIN=true
|
||||
SKIP_REGISTRATION=true
|
||||
SKIP_WX_PUSH=true
|
||||
UC_DB_URL=postgres://htyuc@localhost/htyuc_local
|
||||
UC_PORT=3000
|
||||
UC_URL=http://127.0.0.1:3000/api/v1/uc
|
||||
WS_DB_URL=postgres://htyws@localhost/htyws_local
|
||||
|
||||
WS_PORT=3001
|
||||
WS_URL=/api/v1/ws
|
||||
|
||||
KC_DB_URL=postgres://htykc@localhost/htykc_local
|
||||
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="PLACEHOLDER"
|
||||
Reference in New Issue
Block a user