mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
Update README for docker-compose and use same ports
This commit is contained in:
parent
0ddc00420a
commit
6209066efe
@ -11,4 +11,4 @@ COPY ./static /srv/static
|
||||
COPY ./templates /srv/templates
|
||||
|
||||
# COPY ./models /srv/models # Mounting model is more efficient
|
||||
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "4685", "--db_path", "data/database.db"]
|
||||
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "9600", "--db_path", "data/database.db"]
|
||||
|
29
README.md
29
README.md
@ -33,21 +33,24 @@ To install the app, follow these steps:
|
||||
git clone https://github.com/nomic-ai/gpt4all-ui
|
||||
```
|
||||
|
||||
### Manual setup
|
||||
Hint: Scroll down for docker-compose setup
|
||||
|
||||
1. Navigate to the project directory:
|
||||
|
||||
```
|
||||
```bash
|
||||
cd gpt4all-ui
|
||||
```
|
||||
|
||||
1. Run the appropriate installation script for your platform:
|
||||
2. Run the appropriate installation script for your platform:
|
||||
|
||||
On Windows :
|
||||
```
|
||||
```cmd
|
||||
install.bat
|
||||
```
|
||||
- On linux/ Mac os
|
||||
|
||||
```
|
||||
```bash
|
||||
bash ./install.sh
|
||||
```
|
||||
|
||||
@ -55,6 +58,7 @@ On Linux/MacOS, if you have issues, refer more details are presented [here](docs
|
||||
These scripts will create a Python virtual environment and install the required dependencies. It will also download the models and install them.
|
||||
|
||||
Now you're ready to work!
|
||||
|
||||
## Usage
|
||||
For simple newbies on Windows:
|
||||
```cmd
|
||||
@ -66,7 +70,6 @@ For simple newbies on Linux/MacOsX:
|
||||
bash run.sh
|
||||
```
|
||||
|
||||
|
||||
if you want more control on your launch, you can activate your environment:
|
||||
|
||||
On Windows:
|
||||
@ -107,6 +110,22 @@ Once the server is running, open your web browser and navigate to http://localho
|
||||
|
||||
Make sure to adjust the default values and descriptions of the options to match your specific application.
|
||||
|
||||
### Docker Compose Setup
|
||||
Make sure to have the `gpt4all-lora-quantized-ggml.bin` inside the `gpt4all-lora-quantized-ggml.bin` directory.
|
||||
After that you can simply use docker-compose or podman-compose to build and start the application:
|
||||
|
||||
Build
|
||||
```bash
|
||||
docker-compose -f docker-compose.yml build
|
||||
```
|
||||
|
||||
Start
|
||||
```bash
|
||||
docker-compose -f docker-compose.yml up
|
||||
```
|
||||
|
||||
After that you can open the application in your browser on http://localhost:9600
|
||||
|
||||
## Contribute
|
||||
|
||||
This is an open-source project by the community for the community. Our chatbot is a UI wrapper for Nomic AI's model, which enables natural language processing and machine learning capabilities.
|
||||
|
@ -10,4 +10,4 @@ services:
|
||||
- ./data/.nomic:/root/.nomic/
|
||||
- ./models:/srv/models
|
||||
ports:
|
||||
- "4685:4685"
|
||||
- "9600:9600"
|
||||
|
Loading…
Reference in New Issue
Block a user