[GH-ISSUE #4046] Deploy AnythingLLM Using PostgreSQL with Custom Docker Image #2573

Closed
opened 2026-02-22 18:30:19 -05:00 by yindo · 2 comments
Owner

Originally created by @resulraveendran on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4046

I need to deploy AnythingLLM using a PostgreSQL database. Specifically, I want to:

  • Build a custom Docker image for AnythingLLM that connects to my PostgreSQL database.

  • Push the image to Amazon ECR.

  • Deploy the image on ECS Fargate while using Amazon RDS for PostgreSQL as the database.

     Is there an option to deploy AnythingLLM using PostgreSQL and the custom Docker image?
    
Originally created by @resulraveendran on GitHub (Jun 25, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4046 I need to deploy AnythingLLM using a PostgreSQL database. Specifically, I want to: - Build a custom Docker image for AnythingLLM that connects to my PostgreSQL database. - Push the image to Amazon ECR. - Deploy the image on ECS Fargate while using Amazon RDS for PostgreSQL as the database. Is there an option to deploy AnythingLLM using PostgreSQL and the custom Docker image?
yindo closed this issue 2026-02-22 18:30:19 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 25, 2025):

https://docs.anythingllm.com/installation-docker/available-images#pg

This image can connect to your PG DB and that will work as you want. It defaults to assuming you also want PGVector as your vectordatabase too, but once setup you can change that without needing to install PGVector first into the db

@timothycarambat commented on GitHub (Jun 25, 2025): https://docs.anythingllm.com/installation-docker/available-images#pg This image can connect to your PG DB and that will work as you want. It defaults to assuming you also want PGVector as your vectordatabase too, but once setup you can change that without needing to install PGVector first into the db
Author
Owner

@resulraveendran commented on GitHub (Jun 25, 2025):

Hi timothycarambat,
Could you please provide the Dockerfile and the .env file required to build the Docker image?

@resulraveendran commented on GitHub (Jun 25, 2025): Hi timothycarambat, Could you please provide the Dockerfile and the .env file required to build the Docker image?
yindo changed title from Deploy AnythingLLM Using PostgreSQL with Custom Docker Image to [GH-ISSUE #4046] Deploy AnythingLLM Using PostgreSQL with Custom Docker Image 2026-06-05 14:47:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2573