Spaces:
Running
Running
feat: improve docs
Browse files
README.md
CHANGED
@@ -920,7 +920,7 @@ MODELS=`[
|
|
920 |
|
921 |
### 403:You don't have access to this conversation
|
922 |
|
923 |
-
Most likely you are running chat-ui over HTTP. The recommended option is to setup something like NGINX to handle HTTPS and proxy the requests to chat-ui. If you really need to run over HTTP you can add `
|
924 |
|
925 |
Make sure to set your `PUBLIC_ORIGIN` in your `.env.local` to the correct URL as well.
|
926 |
|
@@ -1005,3 +1005,13 @@ npm run populate users settings assistants conversations
|
|
1005 |
```
|
1006 |
|
1007 |
to populate the database with fake data, including fake conversations and assistants for your user.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
920 |
|
921 |
### 403:You don't have access to this conversation
|
922 |
|
923 |
+
Most likely you are running chat-ui over HTTP. The recommended option is to setup something like NGINX to handle HTTPS and proxy the requests to chat-ui. If you really need to run over HTTP you can add `COOKIE_SECURE=false` and `COOKIE_SAMESITE=lax` to your `.env.local`.
|
924 |
|
925 |
Make sure to set your `PUBLIC_ORIGIN` in your `.env.local` to the correct URL as well.
|
926 |
|
|
|
1005 |
```
|
1006 |
|
1007 |
to populate the database with fake data, including fake conversations and assistants for your user.
|
1008 |
+
|
1009 |
+
### Building the docker images locally
|
1010 |
+
|
1011 |
+
You can build the docker images locally using the following commands:
|
1012 |
+
|
1013 |
+
```bash
|
1014 |
+
docker build -t chat-ui-db:latest --build-arg INCLUDE_DB=true .
|
1015 |
+
docker build -t chat-ui:latest --build-arg INCLUDE_DB=false .
|
1016 |
+
docker build -t huggingchat:latest --build-arg INCLUDE_DB=false --build-arg APP_BASE=/chat --build-arg PUBLIC_APP_COLOR=yellow .
|
1017 |
+
```
|