trojanpanel / install-script

Multi-user web administration panel supporting Xray/Trojan-Go/Hysteria/NaiveProxy
https://trojanpanel.github.io
1.79k stars 468 forks source link

final solution for tp-core's crash #354

Open netsupcloud opened 8 months ago

netsupcloud commented 8 months ago

cd docker cp trojan-panel-core:/ ./tpcore cd tpcore/tpdata/trojan-panel-core/ docker stop trojan-panel-core

./trojan-panel-core -host=127.0.0.1 -port=9507 -user=xxxxx -password=xxxxxxxx-database=trojan_panel_db -accountTable=account -redisHost=127.0.0.1 -redisPort=6378 -redisPassword=xxxx -crtPath=/tpdata/cert/xx.xxxx.xxx.crt -keyPath=/tpdata/cert/xx.xxxx.xxx.key -grpcPort=8100 -serverPort=8082

and made 2 services as i mentioned here: https://github.com/trojanpanel/install-script/issues/353#issuecomment-1913159228