Skip to content

feat: add librechat template #5654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

GauthierPLM
Copy link

Changes

  • Add template to deploy LibreChat
  • Add librechat.svg icon

Issues

@andrasbacsai andrasbacsai deleted the branch coollabsio:next May 9, 2025 06:31
@andrasbacsai andrasbacsai reopened this May 9, 2025
- DB_NAME=rag
- RAG_PORT=8000
- RAG_OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY:-user_provided}
healthcheck:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This healthcheck does not seem to work, please fix it.

- DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- DB_NAME=rag
- RAG_PORT=8000
- RAG_OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY:-user_provided}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this variable is required add it like so RAG_OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY:?}

timeout: 20s
retries: 10

volumes:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section can be removed as Coolify will add this.

image: getmeili/meilisearch:v1.12.3
environment:
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- MEILI_NO_ANALYTICS=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this variable configurable

environment:
- MONGO_INITDB_ROOT_USERNAME=${SERVICE_USER_MONGO}
- MONGO_INITDB_ROOT_PASSWORD=${SERVICE_PASSWORD_MONGO}
- ALLOW_EMPTY_PASSWORD=${MONGO_ALLOW_EMPTY_PASSWORD:-yes}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The password should never be empty so remove this ENV

- MONGO_INITDB_ROOT_USERNAME=${SERVICE_USER_MONGO}
- MONGO_INITDB_ROOT_PASSWORD=${SERVICE_PASSWORD_MONGO}
- ALLOW_EMPTY_PASSWORD=${MONGO_ALLOW_EMPTY_PASSWORD:-yes}
image: mongo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a specific image tag with a version not just mongo

- librechat-images:/app/client/public/images
- librechat-logs:/app/api/logs
- librechat-uploads:/app/uploads
- type: bind
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this config is a bit bloated and a lot of stuff is comment out, maybe leave a docs like on top of the config as a comment and remove everything else except what is absolutely needed to clean up the compose file.

# externalUrl: 'https://librechat.ai/privacy-policy'
# openNewTab: true

# Terms of service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is actually needed so maybe the Terms of service can be removed

services:
librechat:
image: ghcr.io/danny-avila/librechat-dev-api:latest
depends_on:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure it is also healthy and not just depending on these containers.

@peaklabs-dev peaklabs-dev added ⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author. labels May 23, 2025
@coollabsio coollabsio deleted a comment from andrasbacsai May 23, 2025
@GauthierPLM
Copy link
Author

Hello,

Thanks for the deep review. I’m currently unable to do any change until mid-June. I’ll work on them as soon as possible after June 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants