How to host Linguly from scratch

Here we are trying to document a step-by-step guid to self host a Linguly instance using Coolify. It doesn’t mean that this is the only way to host it but only a recommendation and guide to make it easier.

1- Where to run?

First step is to decide if you want to run it on an own system/running locally or deploy it on a server you own to access it easier from everywhere.

For the first option you can follow the local setup guides to run each app locally.

However, in this guide we are focusing on running them on a server using Coolify.

If you don’t own a server, you can get a VPS (Virtual Private Server) from one of the well known providers such as:

Minimum of 4 vCPU, 6GB RAM, 50GB Storage should be generally enough.

At the end, all we need here to continue to next steps is an IP and root password of the VPS server to do SSH.

2- Setup Coolify

Follow the quick installation from Coolify to install it in your server:

  • https://coolify.io/docs/installation
  • if you need further help for the firewall setup you can follow this guide
  • after the installation is done you can follow the steps in this video to setup the domain for your Coolify instance

  • add Linguly’s Telegram Interface and Linguly Core using the Github app integration or just clone the latest
    • configure the BOT_TOKEN and LINGULY_CORE_BASE_URL for the telegram interface using the environment variable

      NOTE: LINGULY_CORE_BASE_URL can be your Linguly Core container name plus the exposed port e.g. http://<coolify random name for the service>-<docker uuid>:3001

3- Setup an LLM Model

In order to setup LLAMA models you can follow the steps here to use ollama APIs.

Otherwise if you have an API, you can setup in the linguly environment variables.