LibreChat/docs/deployment/linode.md
Fuegovic bce4f41fae
🪪mkdocs: social cards (#1428)
* mkdocs plugins: add plugin for social cards and plugin that allow to exclude a folder

* docs: fix hyperlinks

* mkdocs: social cards (descriptions) for 'contributions' and 'deployment' guides

* mkdocs: social cards (descriptions) for all 'index.md'

* mkdocs: social cards (descriptions) for 'features' and 'plugins'

* mkdocs: social cards (descriptions) for 'general_info'

* mkdocs: social cards (descriptions) for 'configuration'

* mkdocs: social cards (descriptions) for 'installation'

* mkdocs: minor fixes

* update librechat.svg

* update how_to_contribute.md

add reference to the official GitHub documentation
2023-12-28 17:10:06 -05:00

3 KiB

title description weight
🐧 Linode How to deploy LibreChat on Linode. -8

Linode

⚠️Note: Payment is required

Create a Linode Account and a Linode Server

  • Go to the Linode website (https://www.linode.com/) and click on the "Sign Up" or "Get Started" button.
  • Follow the instructions to create a new account by providing your personal details and payment information.
  • Once your account is created, you will have access to the Linode Cloud Manager.
  • Click on the "Create" button to create a new Linode server.
  • Choose a location for your server and select the desired server plan.
  • Configure the server settings such as the server's label, root password, and SSH key. If you don't know which image to use, select 🐧💻 Ubuntu 22.04 LTS
  • Click on the 'Create' button to provision the Linode server (wait about 5 minutes after the server is on, because the server is not actually powered on yet)

Install Docker:

  • Connect to your Linode server via SSH using a terminal or SSH client.

  • Run the following commands to install Docker and Docker-compose:

    sudo apt update
    sudo apt install docker.io && apt install docker-compose
    

Install LibreChat

Install and Setup NGINX Proxy Manager:

if you want, you can use NGINX, Apache, or any other proxy manager.

  • create a folder

    mkdir nginix-proxy-manager
    cd nginix-proxy-manager
    
  • Create a file named docker-compose.yml by running nano docker-compose.yml.

  • Add this code and save it with Ctrl+X, Y, and Enter:

    version: '3.8'
    services:
      app:
        image: 'jc21/nginx-proxy-manager:latest'
        restart: unless-stopped
        ports:
          - '80:80'
          - '81:81'
          - '443:443'
        volumes:
          - ./data:/data
          - ./letsencrypt:/etc/letsencrypt
    

Start NGINX Proxy Manager

  • By executing: docker-compose up -d

Login to NGINX Proxy Manager

  • Important: You need to update the default credentials

  • The default login link is at your_linode_ip:81.

  • Default Admin User:

Email:    admin@example.com
Password: changeme

Login to NGINX Proxy Manager.

  • Click on "Proxy Host" and add a proxy host.

linode-1

  • If you want, you can add the Let's Encrypt SSL certificate.

linode-2


Note: If you're still having trouble, before creating a new issue, please search for similar ones on our #issues thread on our discord or our troubleshooting discussion on our Discussions page. If you don't find a relevant issue, feel free to create a new one and provide as much detail as possible.