AnythingLLM Self-hosted
Quickstart

How to use Dockerized Anything LLM

Use the Dockerized version of AnythingLLM for a much faster and complete startup of AnythingLLM compared to running the source code directly.

Start AnythingLLM via Docker

Go to http://localhost:3001 and you are now using AnythingLLM! All your data and progress will persist between container rebuilds or pulls from Docker Hub.

️💡

Want to run local LLMs inside the container? Add -e ENABLE_BUILT_IN_LLM=true to turn on the built-in LLM - with GPU support for NVIDIA, AMD, and Intel GPUs.

How to use the user interface

To access the full application, visit http://localhost:3001 in your browser.

About UID and GID in the ENV

  • The UID and GID are set to 1000 by default. This is the default user in the Docker container and on most host operating systems.
  • If there is a mismatch between your host user UID and GID and what is set in the .env file, you may experience permission issues.

pg image startup command

The pg image has a slightly different startup command to support the PostgreSQL database connection.

First, ensure you have a PostgreSQL database running and a PGVector extension installed on that database (opens in a new tab).