[MIRROR] Chat history prototype (#10278)

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-02 09:22:34 -07:00
committed by GitHub
parent 36231619db
commit 09bb0e61b3
33 changed files with 746 additions and 235 deletions

View File

@@ -0,0 +1,7 @@
# PLEASE REFER TO THE SCHEMA IN THE MAIN REPOSITORY
# TO KNOW WHERE THE TABLES ARE AT (chatlogs / ckeys)
API_HOST=0.0.0.0
API_PORT=50000
DBCONFIG_PATH=/opt/myserver/config/dbconfig.txt

View File

@@ -0,0 +1,12 @@
The libvchatlog.so/vchatlog.dll file will fetch the required database credentials automatically from the
config/dbconfig.txt if the chatlogging database backend was enabled.
For the alwayson-backend you will have to create some kind of service to keep it running. With the supplied
.env.example you are able to set the port of the API. The configured chatlogging API URL (where you also turn it on)
you will have to supply the correct ip-address/domain and port on where this API is reachable.
For this you can set the DBCONFIG_PATH environment variable (or use the .env.example) to the exact path of the config/dbconfig.txt.
Do not forget to rename .env.example to .env of course, if you want to use a file.

Binary file not shown.

Binary file not shown.