asserts renamed to assets and added docker deployment (#34)

This commit is contained in:
magic.chen 2023-05-14 14:38:03 +08:00 committed by GitHub
commit 7952a34923
12 changed files with 35 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM ubuntu:latest
RUN apt-get update && apt-get install -y \
git \
python3 \
pip
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
EXPOSE 3306
EXPOSE 8000
CMD ["python", "pilot/server/vicuna_server.py"]
CMD ["python", "pilot/server/webserver.py"]

BIN
assets/DB-GPT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
assets/DB_QA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
assets/SQLGEN.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

BIN
assets/VectorDBQA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 KiB

BIN
assets/exeable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

BIN
assets/pilot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

0
assets/readme.md Normal file
View File

BIN
assets/sql_generate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
assets/wechat.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

BIN
assets/演示.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

14
docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
version: '3.9'
services:
db-gpt:
build:
context: .
dockerfile: Dockerfile
image: db-gpt:latest
container_name: db-gpt
ports:
- 8000:8000
- 3306:3306
restart: unless-stopped
read-only: true