digital ocean deployment instructions are missing steps #2593
gkrawiec
started this conversation in
Feature Requests & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I am not a dev and know little about docker, so I will just post some things that I found that need to be added to the deployment instructions so that others don't have to go through finding answers to this.
This was a digital ocean deployment.
Steps to Reproduce
the section https://docs.librechat.ai/deployment/nginx.html#option-a-configure-nginx-without-basic-authentication-using-docker-compose-with-ssl
should be clear that you simply need to replace the installed nginx.conf file with the config provided in the docs. A simple replace works. The current text "Here is an example (it is not one to one with the current code base - TODO: Fix the code and this in the future) " is confusing. Alternatively, include the provided conf file with a dummy name as part of the deployment and include instructions to replace one conf file with the other
right after complete copyCode for code blocks #1 add a step to replace domain names in nginx.cond such as
execute the command `sed 's/<put.here.your.domain.name>/<YourActualDomain/g ' "
host nginx boots by default on system reboots, so add commands such as
sudo systemctl stop nginx
sudo systemctl disable nginx
so that host nginx doesnt clash with docker nginx
changes to .env file that seem to be missing
HOST=localhost should be changed to HOST=0.0.0.0
the line COMPOSE_FILE=deploy-compose.yml should be added or it boots with the wrong yml file
I think these are all the issues I ran into that were not clearly explained in the deploymento to digital ocean docs. Maybe they apply to other deployments, i didnt really look.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions