Skip to content
Snippets Groups Projects
Commit 40862532 authored by timothycarambat's avatar timothycarambat
Browse files

fix docker readme case

parent ec0567d9
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,9 @@ CHROMA_ENDPOINT='http://host.docker.internal:8000' # Allow docker to look on hos
```
### Common questions and fixes
## Common questions and fixes
# API is not working, cannot login, LLM is "offline"?
### API is not working, cannot login, LLM is "offline"?
You are likely running the docker container on a remote machine like EC2 or some other instance where the reachable URL
is not `http://localhost:3001` and instead is something like `http://193.xx.xx.xx:3001` - in this case all you need to do is add the following to your `frontend/.env.production` before running `docker-compose up -d --build`
```
......@@ -61,7 +61,7 @@ VITE_API_BASE="http://<YOUR_REACHABLE_IP_ADDRESS>:3001/api"
```
For example, if the docker instance is available on `192.186.1.222` your `VITE_API_BASE` would look like `VITE_API_BASE="http://192.186.1.222:3001/api"` in `frontend/.env.production`.
## Still not working?
### Still not working?
[Ask for help on Discord](https://discord.gg/6UyHPeGZAC)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment