apt-get install screen -y
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && sudo apt update && sudo apt install ngrok
ngrok config add-authtoken yourauthtoken
ngrok http http://localhost:8080
Copy This Url And Save - After saving, exit the screen with CTRL A + D. ( Do not exit with CTRL C, it closes completely. )
Paste the url you copied into the webhook url section and CTRL X CTRL Y ENTER . Saved.
docker stop scout && docker rm scout
docker pull johnsonchasm/chasm-scout .
docker run -d --restart=always --env-file ./.env -p 3001:3001 --name scout johnsonchasm/chasm-scout
source ./.env
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WEBHOOK_API_KEY" \
-d '{"body":"{\"model\":\"gemma-7b-it\",\"messages\":[{\"role\":\"system\",\"content\":\"You are a helpful assistant.\"}]}"}' \
$WEBHOOK_URL
99% of your problem will be solved.