Skip to main content
LibreChat is joining ClickHouse to power the open-source Agentic Data Stack 🎉 Learn more
LibreChat

ngrok

Usa Ngrok per creare un tunnel dal tuo server locale a internet.

Per utilizzare ngrok per inoltrare il tuo server locale su internet, segui questi passaggi:

Registrati

  1. Vai su https://ngrok.com/ e registrati per un account.

Installazione Docker

  1. Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
  2. Apri un terminale ed esegui il seguente comando: docker run -d -it -e NGROK_AUTHTOKEN=<your token> ngrok/ngrok http 80

Installazione su Windows

  1. Scarica il file ZIP da: https://ngrok.com/download
  2. Estrai il contenuto del file ZIP utilizzando 7zip o WinRar.
  3. Esegui ngrok.exe.
  4. Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
  5. Nel terminale ngrok.exe, esegui il seguente comando: ngrok config add-authtoken <your token>
  6. Se non l'hai già fatto, avvia LibreChat normalmente.
  7. Nel terminale ngrok.exe, esegui il seguente comando: ngrok http 3080

Vedrai un link che può essere utilizzato per accedere a LibreChat. ngrok-1

Installazione su Linux

  1. Copia il comando da: https://ngrok.com/download scegliendo l'architettura corretta.
  2. Esegui il comando nel terminale
  3. Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
  4. esegui il seguente comando: ngrok config add-authtoken <your token>
  5. Se non l'hai già fatto, avvia LibreChat normalmente.
  6. esegui il seguente comando: ngrok http 3080

Installazione su Mac

  1. Scarica il file ZIP da: https://ngrok.com/download
  2. Estrai il contenuto del file ZIP utilizzando un'applicazione Mac adatta come Unarchiver.
  3. Apri il Terminale.
  4. Naviga verso la directory in cui hai estratto ngrok utilizzando il comando cd.
  5. Esegui ngrok digitando ./ngrok.
  6. Copia il tuo auth token da: https://dashboard.ngrok.com/get-started/your-authtoken
  7. Nel terminale in cui hai eseguito ngrok, inserisci il seguente comando: ngrok authtoken <your token>
  8. Se non l'hai già fatto, avvia LibreChat normalmente.
  9. Nel terminale in cui hai eseguito ngrok, inserisci il seguente comando: ./ngrok http 3080

Com’è questa guida?