-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add AI section Add ai-chat-app to run self-hosted chatgpt. * Add stable diffusion and ai-chat-app update * Update README and deploy.yaml on ai-chat-app and sd * Add ChatGPT screenshots * Update README.md * Update README.md * Update README.md * Update README.md * Initial commit serge * Add daila * Add alpaca and gpt4all * Fix image name * Fix alpaca.cpp * README updates * Fix StableDiffusion * auto-gpt * ChatChat * Readme update * Cleanup * Update defaults for ChatChat * babyagi * Add babyagi-ui and updates * add Terminal GPT * README fixes * Cleanup README Cleanup README * Update ChatChat README.md * Update Wordpress deploy.yaml Use default wordpress image and mariadb * Update Wordpress README.md Redis is optional for Wordpress and requires the user to install a plugin after install to activate. Using standard practice Wordpress + DB per Wordpress docker-compose.yml. * Update Wordpress deploy.yaml Implement MYSQL_RANDOM_ROOT_PASSWORD * Add weaviate vector db * auto-gpt always up-to-date * Update Serge to latest Dockerfile * Update Serge - Use latest Dockerfile - Include version number in image - Update README - Update deploy.yaml with better instructions * Update .env and entrypoint for auto-gpt * Add Supabase * Finalize auto-gpt updates * Supabase not ready * Add Flowise * Add GPU support for Weaviate
- Loading branch information
Showing
11 changed files
with
447 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
#Upgrade pip | ||
pip install --upgrade pip | ||
|
||
# Clone the Auto-GPT repository | ||
git clone https://github.com/Significant-Gravitas/Auto-GPT.git /app | ||
|
||
# Set the working directory | ||
cd /app | ||
|
||
git checkout stable | ||
|
||
pip install --no-cache-dir -r requirements.txt | ||
|
||
gotty -w --random-url-length 16 python -m autogpt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Flowise - LangchainJS UI | ||
|
||
<a href="https://github.com/FlowiseAI/Flowise"> | ||
<img width="100%" src="https://github.com/FlowiseAI/Flowise/blob/main/images/flowise.gif?raw=true"></a> | ||
|
||
Drag & drop UI to build your customized LLM flow using [LangchainJS](https://github.com/hwchase17/langchainjs) | ||
|
||
## ⚡Quick Start | ||
|
||
Open URI in Cloudmos after deployment. | ||
|
||
## 🔒 Authentication | ||
|
||
To enable app level authentication, add `FLOWISE_USERNAME` and `FLOWISE_PASSWORD` to the `.env` file in `packages/server`: | ||
|
||
``` | ||
FLOWISE_USERNAME=user | ||
FLOWISE_PASSWORD=1234 | ||
``` | ||
|
||
## 📖 Documentation | ||
|
||
[Flowise Docs](https://docs.flowiseai.com/) | ||
|
||
## 🌐 Self Host | ||
|
||
### [Railway](https://docs.flowiseai.com/deployment/railway) | ||
|
||
[](https://railway.app/template/YK7J0v) | ||
|
||
### [Render](https://docs.flowiseai.com/deployment/render) | ||
|
||
[](https://docs.flowiseai.com/deployment/render) | ||
|
||
### [AWS](https://docs.flowiseai.com/deployment/aws) | ||
|
||
### [DigitalOcean](https://docs.flowiseai.com/deployment/digital-ocean) | ||
|
||
## 💻 Cloud Hosted | ||
|
||
Coming soon | ||
|
||
## 🙋 Support | ||
|
||
Feel free to ask any questions, raise problems, and request new features in [discussion](https://github.com/FlowiseAI/Flowise/discussions) | ||
|
||
## 🙌 Contributing | ||
|
||
See [contributing guide](CONTRIBUTING.md). Reach out to us at [Discord](https://discord.gg/jbaHfsRVBW) if you have any questions or issues. | ||
[](https://star-history.com/#FlowiseAI/Flowise&Date) | ||
|
||
## 📄 License | ||
|
||
Source code in this repository is made available under the [MIT License](LICENSE.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
version: '2.0' | ||
services: | ||
flowise: | ||
image: flowiseai/flowise | ||
expose: | ||
- port: 3000 | ||
as: 80 | ||
to: | ||
- global: true | ||
args: | ||
- start | ||
command: | ||
- flowise | ||
env: | ||
#- "PORT=${PORT}" | ||
#- "FLOWISE_USERNAME=${FLOWISE_USERNAME}" | ||
#- "FLOWISE_PASSWORD=${FLOWISE_PASSWORD}" | ||
params: | ||
storage: | ||
flowise: | ||
mount: /root/.flowise | ||
readOnly: false | ||
profiles: | ||
compute: | ||
flowise: | ||
resources: | ||
cpu: | ||
units: 4 | ||
memory: | ||
size: 4Gi | ||
storage: | ||
- size: 1Gi | ||
- name: flowise | ||
size: 32Gi | ||
attributes: | ||
persistent: true | ||
class: beta3 | ||
placement: | ||
akash: | ||
####################################################### | ||
#Keep this section to deploy on trusted providers | ||
signedBy: | ||
anyOf: | ||
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63" | ||
- "akash18qa2a2ltfyvkyj0ggj3hkvuj6twzyumuaru9s4" | ||
####################################################### | ||
#Remove this section to deploy on untrusted providers | ||
#Beware* You may have deployment, security, or other issues on untrusted providers | ||
#https://docs.akash.network/providers/akash-audited-attributes | ||
pricing: | ||
flowise: | ||
denom: uakt | ||
amount: 10000 | ||
deployment: | ||
flowise: | ||
akash: | ||
profile: flowise | ||
count: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,68 @@ | ||
# --------------------------------------- | ||
# Base image for node | ||
FROM node:19 as node_base | ||
FROM node:19-slim as node_base | ||
|
||
WORKDIR /usr/src/app | ||
# Install pip and requirements | ||
|
||
# --------------------------------------- | ||
# Base image for runtime | ||
FROM ubuntu:22.04 as base | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/Amsterdam | ||
FROM python:3.11-slim as base | ||
|
||
ENV TZ=Etc/UTC | ||
WORKDIR /usr/src/app | ||
|
||
COPY scripts/compile.sh . | ||
|
||
# Install MongoDB and necessary tools | ||
RUN apt update && \ | ||
apt install -y curl wget gnupg python3-pip git && \ | ||
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add - && \ | ||
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list && \ | ||
apt-get update && \ | ||
apt-get install -y mongodb-org && \ | ||
git clone https://github.com/ggerganov/llama.cpp.git --branch master-5a5f8b1 | ||
# Install Redis | ||
RUN apt-get update \ | ||
&& apt-get install -y curl wget gnupg cmake lsb-release build-essential \ | ||
&& curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg \ | ||
&& echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y redis \ | ||
&& mkdir -p /etc/redis /var/redis \ | ||
&& pip install --upgrade pip | ||
|
||
RUN pip install --upgrade pip | ||
# Add redis config | ||
COPY ./serge/config/redis.conf /etc/redis/redis.conf | ||
|
||
# --------------------------------------- | ||
# Dev environment | ||
FROM base as dev | ||
ENV NODE_ENV='development' | ||
|
||
# Install Node.js and npm packages | ||
COPY --from=node_base /usr/local /usr/local | ||
COPY ./web/package*.json ./ | ||
COPY ./serge/web/package*.json ./ | ||
RUN npm ci | ||
|
||
COPY scripts/dev.sh /usr/src/app/dev.sh | ||
COPY --chmod=0755 scripts/dev.sh /usr/src/app/dev.sh | ||
CMD ./dev.sh | ||
|
||
# --------------------------------------- | ||
# Build frontend | ||
FROM node_base as frontend_builder | ||
|
||
COPY ./web/package*.json ./ | ||
COPY ./serge/web/package*.json ./ | ||
RUN npm ci | ||
|
||
COPY ./web /usr/src/app/web/ | ||
COPY ./serge/web /usr/src/app/web/ | ||
WORKDIR /usr/src/app/web/ | ||
RUN npm run build | ||
|
||
# --------------------------------------- | ||
# Runtime environment | ||
FROM base as release | ||
|
||
ENV NODE_ENV='production' | ||
WORKDIR /usr/src/app | ||
|
||
COPY --from=frontend_builder /usr/src/app/web/build /usr/src/app/api/static/ | ||
COPY ./api /usr/src/app/api | ||
|
||
RUN pip install ./api | ||
COPY ./serge/api /usr/src/app/api | ||
COPY --chmod=0755 serge/scripts/deploy.sh /usr/src/app/deploy.sh | ||
|
||
COPY scripts/deploy.sh /usr/src/app/deploy.sh | ||
RUN chmod 755 /usr/src/app/deploy.sh | ||
RUN pip install --no-cache-dir ./api | ||
|
||
RUN mkdir -p /data/db | ||
RUN mkdir -p /usr/src/app/weights/ | ||
RUN mkdir -p /usr/src/app/weights | ||
|
||
EXPOSE 8008 | ||
CMD ./deploy.sh |
Oops, something went wrong.