-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
base: next
Are you sure you want to change the base?
Conversation
- DB_NAME=rag | ||
- RAG_PORT=8000 | ||
- RAG_OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY:-user_provided} | ||
healthcheck: |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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.
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. |
Changes
Issues