Skip to content

Commit

Permalink
add docker file for self-hosted & move file for the enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzzyReason committed Nov 24, 2023
1 parent 44567d3 commit 95e5c4c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
File renamed without changes.
29 changes: 29 additions & 0 deletions public/self-hosted/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: "3.9"

services:
chatbot_ui:
image: smallcloud/chatbot_ui:beta
ports:
- 3000:3000
environment:
- OPENAI_API_HOST=http://refact:8008
- DEFAULT_MODEL=llama2/7b
links:
- refact
depends_on:
- refact
refact:
image: smallcloud/refact_self_hosting:nightly
volumes:
- perm_storage:/perm_storage
ports:
- 8008:8008
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
volumes:
perm_storage:
2 changes: 1 addition & 1 deletion src/content/docs/guides/enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Run the following in your terminal:
docker pull smallcloud/refact_self_hosting_enterprise:beta
wget https://docs.refact.ai/docker-compose.yml
```
[Download](https://docs.refact.ai/docker-compose.yml) the `docker-compose.yml` file and run the docker `compose up` command in your terminal.
[Download](https://docs.refact.ai/enterprise/docker-compose.yml) the `docker-compose.yml` file and run the docker `compose up` command in your terminal.

## Generating a Random Admin Password

Expand Down

0 comments on commit 95e5c4c

Please sign in to comment.