Skip to content
Discussion options

You must be logged in to vote

Yes. A couple of concrete things stand out here.

First, the volume change is the right direction. The process reads the config under /root/.picoclaw, so mounting your persistent config there is the path I would use. Mounting it at /.picoclaw can leave the process reading a different home/config directory.

For /ready: the log line only means the HTTP endpoints are listening. /ready returns not ready until startup has finished and the readiness flag is set, and it also returns 503 if a registered health check is failing. I would compare the two endpoints including status code and body:

curl -i http://ip:18800/health
curl -i http://ip:18800/ready

If /health is OK but /ready is 503, the JSON …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@ydqsbfsyi
Comment options

Comment options

You must be logged in to vote
1 reply
@krotname
Comment options

Comment options

You must be logged in to vote
2 replies
@krotname
Comment options

Answer selected by ydqsbfsyi
@ydqsbfsyi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants