a year ago
Setup a typesense dockerfile on railway and it deploys and runs. (Have not tested it with data yet.) But the deploy logs show two messages every 20-40 seconds.
257 raft_server.cpp:557] Term: 2, pending_queue: 0, last_index: 1, committed: 1, known_applied: 1, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 0
Expanded View: level:
"error"and
301 raft_server.h:60] Peer refresh succeeded!
Expanded View: level:
"error"These messages are highlight red. Is this typesense not properly returning a success that railway reads in the logs so it highlights red? Or another issue?
5 Replies
a year ago
typesense is sending the logs to stderr so we colour them red
Got it so no actual errors for some messages?
Also saw you were the one who published the typesense template, thanks for a referance to look at while I do this. I made min with a docker file but am having trouble finding an easy way to load data into typesense with curl if I only want typesense to be internal. Do you have any suggestions for testing the typesense server? <:houstonsweatsmile:1047622525183602768>
a year ago
no actual errors, you'll want to take the content of the message into consideration, instead of the colour.
and while I may have made the typesense template, I have never used typesense itself, so unfortunately I won't be able to help here, but good news, typesense isn't specific to Railway so I'm sure you can find many great resources on what you need to do on the interwebs